LibraryData and agents2020Design paperCorpus record
The Graph: a decentralised query protocol for blockchains
The Graph. Yaniv Tal, Brandon Ramirez and the Graph team.
The Graph's protocol paper for indexing chain data. Indexers stake on serving a subgraph. Curators signal which subgraphs matter. Consumers pay for queries. The problem is read access, not consensus.
The Graph's paper describes a market for indexing chain data: indexers stake, curators signal which subgraphs matter, and consumers pay for queries the base chain is bad at serving.
The five-minute read
Chains are poor databases
A contract stores the state it needs to be correct, not the indexes a website needs to be fast. Reading a rich query from a node is a service, and someone runs it.
A subgraph is a saved transformation
Developers describe how to turn events into entities. An indexer runs that mapping and serves queries. The paper's object is this hosted, checkable transformation.
Stake is how a bad index is supposed to hurt
Indexers lock tokens. The paper's dispute process is meant to slash an indexer who served a result that does not follow from the chain and the mapping.
Curators are a discovery layer
They signal on subgraphs, and the signal is supposed to direct indexer attention. It is also a market that can be gamed, and the paper should be read with that in mind.
The useful tension is verification versus convenience
A consumer can often trust a well-known indexer the way they trust any API. The paper's extra claim is that a fisherman can prove a lie. If disputes never happen, the system is an API with a token.
One action, walked through
- A developer publishes a subgraph manifest: which contracts, which events, which schema.
- Curators signal on it, locking tokens as a statement that the subgraph is worth serving.
- An indexer runs the mappings against chain history and keeps the store up to date as new blocks arrive.
- A consumer, or a gateway in front of them, pays a query fee and receives a signed result.
- If the result does not match the mapping, a challenger can dispute it under the paper's rules, with the indexer's stake at issue.
The argument, unpacked
Indexing is not consensus
Two honest indexers running the same mapping against the same chain should agree. A wrong mapping produces a consistently wrong API, and no amount of stake fixes a bad schema. The paper secures execution of a published mapping. It does not decide whether the mapping is the question the user meant to ask.
Disputes need a referee and a window
A query result that can be proven false only if someone archives the reply and posts a proof before a deadline is a specific security model. Consumers who do not keep the signed response cannot later complain. The paper's cryptoeconomics begins after the receipt is saved.
Curation is advertising with a loss
Signalling directs indexers and can earn a share of fees. It can also be used to push a useless subgraph onto the market. The paper does not contain a theory of which data ought to exist. It contains a market.
What has to be true
- The chain data the mapping reads is available to indexers and to challengers.
- At least one indexer serves the subgraph. A perfect manifest with nobody running it is an empty API.
- Query receipts are retained by anyone who might dispute.
- The dispute window is long enough to matter and short enough that indexers will lock stake.
What happened after the paper
The Graph shipped a hosted service first and a decentralised network after, with gateways, curation and dispute parameters that evolved. Many applications still used the hosted path for a long time. The paper describes the staked indexer market. Whether a given query is served by that market or by a single operator is a fact about the deployment.
What to check before you use the idea
- Is this query served by a staked indexer or by one hosted operator?
- What would a challenger need in hand to prove a wrong answer?
- Who wrote the mapping, and is a wrong mapping distinguishable from a wrong index?
- What happens to the application if the indexer falls behind the chain tip?
Terms
- Subgraph
- A published mapping from chain events to the entities a query will return.
- Indexer
- An operator who runs the mapping, serves queries, and locks stake against being wrong.
- Curator
- A party who signals that a subgraph is worth indexing, with tokens at stake in that signal.
- Fisherman
- A challenger who disputes a query result that does not follow from the chain and the mapping.
The problem the paper names
A contract write is verifiable from the chain. A rich read — every trade in a pool, every position in a market — is a query over history that a phone should not reconstruct alone. Centralised indexers fill the gap and become silent dependencies.
What the design proposes
- A subgraph schema defines how chain events become queryable entities.
- Indexers choose subgraphs, stake, and serve queries. Their responses can be checked against the stated indexing rules.
- Curators and delegators, in the paper, allocate attention and stake. They are economic roles, not honourifics.
How the mechanism is specified
- Payment for queries is what makes indexing a job rather than a volunteer mirror.
- Disputes and fisherman-style checks are the paper's answer to a wrong index, and they only work if a wrong index is detectable from public data.
- Hosted services and the later decentralised network should not be cited as if they were the same deployment.
What this page does not treat as proven
- An index is not a source of truth above the chain. If it disagrees with the chain, the chain wins.
- The paper does not make every possible query cheap.
- We do not describe token rewards as income.
Why a venture studio still reads it
Agent and analytics ventures usually hide an indexer in the architecture diagram. The Graph is the paper that pulls it into the open and gives it a stake, a schema and a dispute path.
This is Blockchain Lab's reading of a public design paper. It is not the paper, not a copy of it, and not an offer of tokens, equity, custody or a partnership. Later network behaviour can diverge from the text. Nothing here is investment, legal or technical advice.
Research status: Design paper. Last reviewed: 1 October 2026. This is a reading of a public paper, not investment, legal or security advice.
