Skip to main content

This site is for educational purposes only. Nothing here constitutes financial advice.

Topic 107 of 179

Indexers and The Graph

How blockchain indexers turn raw chain data into fast, queryable APIs — The Graph's subgraphs, competing indexers, why every dApp uses one, and how the indexing layer shapes what applications can build.

Beginner
8 min readUpdated July 2026Block Clarity Hub Editorial Team

Why Blockchains Need Indexers

Blockchains store transaction data in a form optimised for consensus and verification, not for querying. If you want to know 'how many NFTs did address X buy last week', 'what's the total volume on Uniswap yesterday', or 'which addresses hold token Y', you cannot get that from an RPC node in any reasonable amount of time. You need an indexer — a piece of infrastructure that reads every block, extracts the events and state changes you care about, and stores them in a queryable database. Almost every non-trivial dApp uses an indexer either operated in-house or a third-party service.

The Graph as the Category Leader

The Graph is the most widely used blockchain indexing protocol. It introduced the idea of a 'subgraph' — a small, declarative description of what data to index for a specific dApp, written by the dApp team and deployed to The Graph's indexer network. Once deployed, anyone can query that subgraph via GraphQL. Uniswap, Aave, Curve, Synthetix, and thousands of other protocols have subgraphs — often the same subgraph is used by the protocol's official interface and by dozens of third-party analytics tools.

Indexers Beyond The Graph

The Graph is not the only indexing option. Dune Analytics indexes chain data into SQL tables that anyone can query. Nansen, Arkham, and Chainalysis run proprietary indexers for their specific use cases. dApps that need lower latency or specific data shapes often build their own with tools like Ponder, Envio, or Subsquid. Big blockchains (Solana, Aptos, Sui) each have their own indexing ecosystems adapted to their specific data models. The category has fragmented as the industry has grown.

  • Indexers translate raw chain data into queryable APIs
  • Every non-trivial dApp uses one — in-house or a service
  • The Graph is the largest general-purpose network
  • Dune, Nansen, and various proprietary indexers serve different niches

Key Takeaways

  • Blockchains store data for consensus, not for queries — indexers bridge the gap
  • Subgraphs are declarative descriptions of what to index for a specific dApp
  • The dApp UI you use is almost always reading from an indexer, not a chain directly
  • The category has fragmented — no single indexer covers all use cases well

Related Content

App-Chains and Rollup-as-a-Service

How Cosmos-style app-chains and modern Rollup-as-a-Service (RaaS) providers (Caldera, Conduit, AltLayer, Gelato) let applications deploy dedicated chains, and the trade-offs vs shared chains.

Cosmos IBC and Interchain Security

How Cosmos IBC enables cross-chain messaging without wrapped assets, how Interchain Security (ICS) lets chains rent security from the Cosmos Hub, and what these primitives mean for Cosmos's app-chain thesis.

Polkadot Parachains

How Polkadot's parachain model works — shared security via the Relay Chain, XCM cross-chain messaging, agile coretime — and how the network has evolved from parachain auctions to coretime markets.

RPC Providers Compared

How RPC providers like Alchemy, Infura, QuickNode, and Ankr sit between wallets and blockchains — their business models, reliability differences, censorship risks, and how to think about decentralised alternatives.

Oracle Providers Compared

Chainlink, Pyth, RedStone, API3, and Tellor — how each oracle network sources and delivers off-chain data, their trust and economic models, and which use cases suit which oracle.

Bridge Architectures Compared

How Wormhole, LayerZero, Hyperlane, Axelar, and Across handle cross-chain messaging and asset transfer — their trust models, exploit histories, and the fundamental trade-offs between speed, security, and generality.

CBDCs by Jurisdiction

The state of central bank digital currency projects across China, EU, UK, US, and other major jurisdictions — retail vs wholesale designs, privacy trade-offs, and how CBDCs interact with existing stablecoins.

MiCA Stablecoin Detail

How the EU's Markets in Crypto-Assets Regulation (MiCA) treats stablecoins — the ART and EMT categories, issuer requirements, reserve rules, and the practical effect on Tether, Circle, and other stablecoin issuers in Europe.

References & further reading