Indexers

Indexers play a crucial role in the Lumia L2 ecosystem by transforming on-chain data into easily queryable formats, enabling efficient access to historical blockchain data, and powering essential analytics for decentralized applications (dApps). While Lumia L2's RPC nodes provide real-time access to current blockchain state, indexers complement this by organizing historical data in optimized database structures for complex queries and analytics.

Understanding Blockchain Indexing

At its core, blockchain indexing involves:

  1. Data Extraction: Continuously monitoring and processing blockchain events, transactions, and state changes

  2. Data Transformation: Converting raw blockchain data into structured formats optimized for querying

  3. Data Storage: Maintaining organized databases that allow for efficient retrieval and complex queries

  4. Query Interface: Providing APIs (typically GraphQL) for applications to access the processed data

For Lumia L2, indexing is particularly important for many things but some examples could be:

  • Tracking liquidity positions and historical trading activity across Lumia Stream

  • Monitoring Real World Asset (RWA) tokenization events and ownership changes

  • Analyzing cross-chain bridge transactions and token movements

  • Supporting complex DeFi analytics and portfolio tracking

Available Indexing Solutions

Lumia L2 supports two primary indexing solutions:

The Graph Protocol

A decentralized indexing protocol that enables the creation of open APIs (subgraphs) for accessing blockchain data. The Graph uses a decentralized network of indexers who process blockchain data and serve queries.

Goldsky

A high-performance indexing solution that offers managed indexing infrastructure with advanced features like real-time indexing and customizable data transformations.

Last updated