Goldsky Indexer & Transaction History (transactions_apiv2/)
The LearnWay Transaction Indexer (transactions_apiv2/) leverages Goldsky Subgraphs to listen to on-chain blocks and events emitted on Lisk L2, building a searchable historical ledger of all token transfers, XP earnings, and NFT mints.
Indexing Pipeline Architecture
Indexed Smart Contract Events
Key Benefits of Dedicated Indexing
- Zero Load on Primary Core Database: Complex transaction history lookups, date-range filters, and pagination queries execute against the read-optimized Goldsky store without impacting course management or authentication throughput.
- Deterministic On-Chain Verification: Guarantees that wallet balance histories shown in the mobile client match exact on-chain cryptographic state.
- Sub-Second Indexing Latency: Goldsky pipelines process new Lisk L2 blocks in under 1 second, ensuring learners see their minted badges and claimed rewards immediately after transaction confirmation.