The Graph (GRT)GRT

The Graph is a decentralised indexing protocol that turns raw blockchain data into APIs called subgraphs; its token GRT is staked by indexers, delegated, used by curators to signal and paid as query fees.

Blockchains store data in a form that is hard for apps to search. If a wallet or exchange wants every trade a contract has made, reading the chain block by block is slow. The Graph solves this with subgraphs: open APIs that index blockchain data and answer queries over GraphQL, served by independent operators who stake GRT. This page explains how that market works and what can go wrong, not what GRT will be worth.

Category
Cryptocurrencies
Reading time
6 min
Also called
GRT, The Graph Network, The Graph protocol
Updated

The Graph in plain words

The Graph is a set of blockchain data products; its best-known one, the subgraph, pulls data from a blockchain, organises it and serves it through GraphQL.1

Independent node operators called Indexers run the service; the docs say more than 50 of them operate worldwide, so there is no single point of failure.1

GRT holds the market together: Indexers, Curators and Delegators stake it to take part, and apps pay query fees in GRT.2 See Staking and Validators and Delegators.

The Graph's history, step by step

From a founding team in 2018 to a protocol running on an Ethereum layer 2.

  1. 2018 — Founded

    The Graph was founded in 2018 by Yaniv Tal, Jannis Pohlmann and Brandon Ramirez.2

  2. December 2020 — Decentralised network

    The team planned to launch the network on Ethereum mainnet by the end of 2020, with GRT and the protocol contracts deployed at launch.3 The decentralised network launched in December 2020.4

  3. Initial supply

    The initial token supply was 10 billion GRT, with new GRT issued after launch.5

  4. April 2021 — First subgraphs move over

    The first subgraphs began migrating from the hosted service to the decentralised network in April 2021.4

  5. 28 June 2024 — Rewards move to Arbitrum

    Citing high gas fees and slow transactions on Ethereum, the community moved the protocol to Arbitrum One, and indexing rewards went fully to Arbitrum on 28 June 2024.6 See Layer 1 and Layer 2.

  6. Today — More than subgraphs

    The docs now describe a suite of data products, including Subgraphs and Substreams, secured by the same network.1

Worked examples

Example 1 — The delegation tax

9,950 GRT delegated

You delegate 10,000 GRT to an Indexer. The docs list a 0.5% delegation tax, which is burned.

Example 1 — The delegation tax — calculation
Tax burned10,000 × 0.005 = 50 GRT
Amount delegated10,000 − 50 = 9,950 GRT

A Delegator who later withdraws waits through an unbonding period of 28 epochs, which the docs put at about 26 days.5

Example 2 — A curator's share of query fees

+125 GRT (hypothetical)

You signal 2,000 GRT on a subgraph and pay the 1% curation tax. The subgraph later earns a hypothetical 5,000 GRT in query fees, 10% of which go to Curators, and you hold 25% of its curation shares.

Example 2 — A curator's share of query fees — calculation
Curation tax burned2,000 × 0.01 = 20 GRT
Signal after tax2,000 − 20 = 1,980 GRT
Curators' pool5,000 × 0.10 = 500 GRT
Your share500 × 0.25 = 125 GRT

Curators earn 10% of query fees pro rata to their shares, a figure governance can change; the 1% tax on signalling is burned.7 The 5,000 GRT and 25% are only illustrations.

Example 3 — Issuance against the initial supply

Supply tends to grow

The initial supply was 10 billion GRT, and the protocol targets about 3% new issuance a year. About 1% of supply is burned a year through taxes and fees.

Example 3 — Issuance against the initial supply — calculation
3% of 10 billion10,000,000,000 × 0.03 = 300,000,000 GRT
1% of 10 billion10,000,000,000 × 0.01 = 100,000,000 GRT
Net change on these figures300,000,000 − 100,000,000 = +200,000,000 GRT

New GRT rewards Indexers, while delegation tax, curation tax and a 1% query-fee burn remove some.5 This uses the initial supply only; real figures change each year.

The Graph vs. Chainlink

Both are data networks for blockchains, but they move data in opposite directions.

AspectThe GraphChainlink
What it doesIndexes on-chain data so apps can query itBrings outside data and messages to smart contracts
Who runs itIndexers who stake GRTNode operators
TokenGRTLINK
Token useStaking, delegating, curating, query feesPaying node operators and staking
Supply10 billion at launch, about 3% new issuance a year1 billion total

What GRT is used for

  • Indexer stake

    Indexers must self-stake at least 100,000 GRT to run an indexing node.5

  • Delegation

    Holders who do not run a node can delegate GRT to an Indexer.5 See Validators and Delegators.

  • Curation

    Curators signal GRT on subgraphs to tell Indexers which ones are worth indexing.7

  • Query fees and governance

    Apps pay query fees in GRT, and holders who stake GRT can vote on proposals.2 See Governance Tokens and Proposals.

Advantages and disadvantages

Advantages

  • Apps get organised blockchain data without running their own indexing servers.
  • Many independent Indexers serve data, with no single point of failure.
  • Holders can take part by delegating without running a node.
  • Taxes and a query-fee burn offset part of new issuance.

Disadvantages

  • Supply grows: issuance targets about 3% a year with no fixed cap.
  • Delegation and curation taxes cost GRT up front.
  • Withdrawing delegated GRT takes about 26 days.
  • Curator returns depend on query demand, which may be low.

Going deeper

Read as far as you need. Each level builds on the one before it.

Subgraphs as open APIs

Beginner

A subgraph defines which contracts and events to watch and how to turn raw chain data into structured entities, which apps then query with GraphQL.1 See Smart Contract.

Four roles around one token

Intermediate

The network's main participants are Delegators, Curators, Developers and Indexers.5 Indexers stake GRT and earn indexing rewards from new issuance, Curators signal which subgraphs deserve indexing, and Delegators back Indexers with GRT.5 Curators cannot be slashed, but the 1% deposit tax discourages careless signalling.7

Moving the protocol to a layer 2

Advanced

The protocol was redeployed on Arbitrum One, an Ethereum layer 2, because gas fees and slow transactions on Ethereum were a burden for participants.6 GRT has contract addresses on both Ethereum mainnet and Arbitrum One.5 See Optimistic and ZK Rollups and Cross-Chain Bridge.

Common mistakes

  1. Forgetting the taxes

    Delegating costs 0.5% and curating costs 1% up front; both are burned.

  2. Expecting instant withdrawals

    Undelegated GRT stays locked for 28 epochs, about 26 days.

  3. Sending GRT to the wrong network

    GRT exists on Ethereum and Arbitrum One; check which network a deposit address expects.

  4. Treating curation as a fixed yield

    Curator income depends on how many queries a subgraph gets, which can fall to nothing.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1You delegate 4,000 GRT and pay a 0.5% delegation tax. How much GRT is delegated?
Q2Who signals GRT on subgraphs to show which ones are worth indexing?

Key points to remember

  1. The Graph indexes blockchain data and serves it through subgraphs queried with GraphQL.
  2. Indexers stake GRT to run nodes; Delegators, Curators and Developers make up the rest of the market.
  3. Apps pay query fees in GRT, and stakers can vote on proposals.
  4. Supply started at 10 billion GRT, with about 3% new issuance a year and some burns.
  5. The protocol moved to Arbitrum One, with indexing rewards fully there from 28 June 2024.

Frequently asked questions

What is a subgraph?

A custom API that pulls data from a blockchain, organises it and serves it through GraphQL so apps can query it quickly.

Can I earn GRT without running a node?

Yes, by delegating to an Indexer or by curating subgraphs. Both carry an up-front tax and depend on how the network is used.

Is GRT on Ethereum or Arbitrum?

Both. GRT has contracts on Ethereum mainnet and Arbitrum One, and the protocol's indexing rewards now run on Arbitrum One.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. The Graph. About The Graph (opens in a new tab) Checked .
  2. Kraken. What is The Graph? (opens in a new tab) Checked .
  3. The Graph. The Graph's Flight Path to Mainnet (14 December 2020) (opens in a new tab) Checked .
  4. The Graph. Audius, DODO, Livepeer, mStable, Opyn, PoolTogether, Reflexer, and UMA Go Live on The Graph Network (16 June 2021) (opens in a new tab) Checked .
  5. The Graph. Tokenomics of The Graph Network (opens in a new tab) Checked .
  6. The Graph. How to Migrate a Web3 Protocol from L1 to L2 (5 September 2024) (opens in a new tab) Checked .
  7. The Graph. Curating (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.