Indexer
A service that organizes and makes blockchain data queryable and searchable.
Last Updated
2026-03-19
Related Concepts
What is Indexer?
An indexer is a specialized node or service that reads raw data from a blockchain and organizes it into a searchable database. It acts like a search engine for decentralized networks, allowing applications to quickly retrieve specific information without scanning the entire chain.
How does Indexer work?
- The indexer monitors a blockchain node for new blocks and events.
- It extracts relevant data defined by a "subgraph" or manifest.
- The raw on-chain data is transformed and stored in a traditional database (e.g., PostgreSQL).
- Applications send queries (usually via GraphQL) to the indexer's API.
- The indexer returns the requested data in milliseconds, rather than minutes.
Why does Indexer matter?
Blockchains are optimized for writing data, not for complex querying. Without indexers, a dApp would be extremely slow and unresponsive, as it would have to manually parse every block to find a user's transaction history or a token's price.
Key features of Indexer
- Real-time data synchronization
- Highly efficient querying (GraphQL/REST)
- Off-chain data organization
- Customizable data schemas
- Decentralized indexing networks (e.g., The Graph)
Examples of Indexer
The Graph is the most widely used indexing protocol, powering the data dashboards for major dApps like Uniswap, Aave, and Synthetix.
