Docs
Search⌘ K
  • Home
  • About The Graph
  • Supported Networks
  • Protocol Contracts
  • Subgraphs
    • Substreams
      • Indexer Software
        • Gateway Software
          • Data Services
            • AI Tooling
            • Resources
              Resources

              11 minutes

              Glossary

              Protocol Terms

              • Arbitrators: Arbitrators are network participants appointed through a governance process. The role of the Arbitrator is to decide the outcome of indexing and query disputes. Their goal is to maximize the utility and reliability of The Graph Network.

              • Curation Tax: A fee paid by Curators when they signal GRT on Subgraphs, including when signal migrates to a new Subgraph version. The GRT used to pay the fee is burned. See Curation Costs for the current rate.

              • Curator: Network participants that identify high-quality Subgraphs, and signal GRT on them in exchange for curation shares. Curators earn a share of the Subgraph’s query fees, and more signal generally attracts more Indexers. See Curating.

              • Data Service: A protocol component, built on Graph Horizon’s core staking and payments protocols, that defines one service Indexers provide, such as indexing and serving Subgraphs. Indexers provision stake to each data service they support. See Graph Horizon Overview.

              • Data Service Framework: The set of contracts and rules in Graph Horizon that lets anyone build new data services permissionlessly on top of the core staking and payments protocols.

              • Delegation Rewards: The rewards that Delegators receive for delegating GRT to Indexers. Delegation rewards are distributed in GRT.

              • Delegation Tax: A 0.5% fee that Delegators previously paid when delegating GRT to Indexers. It was removed under Graph Horizon, so delegating no longer incurs a protocol fee.

              • Delegator: Network participants who own GRT and delegate their GRT to Indexers. This allows Indexers to increase their stake in Subgraphs on the network. In return, Delegators receive a portion of the Indexing Rewards that Indexers receive for processing Subgraphs. If the Indexer is not eligible for indexing rewards under the Rewards Eligibility Oracle, its Delegators do not receive indexing rewards either.

              • Epoch: A unit of time within the network. Currently, one epoch is 6,646 blocks or approximately 1 day.

              • Fishermen: A role within The Graph Network held by participants who monitor the accuracy and integrity of data served by Indexers. When a Fisherman identifies a query response or a POI they believe to be incorrect, they can initiate a dispute against the Indexer. If the dispute rules in favor of the Fisherman, the Indexer is slashed by losing 2.5% of their self-stake. Of this amount, 50% is awarded to the Fisherman as a bounty for their vigilance, and the remaining 50% is removed from circulation (burned). This mechanism is designed to encourage Fishermen to help maintain the reliability of the network by ensuring that Indexers are held accountable for the data they provide.

              • Gateway: A service that accepts queries for published Subgraphs, routes them to Indexers on The Graph Network, pays those Indexers, and handles authentication and billing for its consumers. Every gateway can serve every published Subgraph. See Subgraph Gateway Providers.

              • Gateway Operator/Provider: A team that runs a gateway on The Graph Network. The Gateway Software docs call these teams Gateway Operators, and the Subgraphs docs call them Gateway Providers. Multiple teams serve the network, and each sets its own API keys, pricing, and support. See Subgraph Gateway Providers.

              • Graph Horizon: The protocol upgrade that turns The Graph into a modular data services protocol, with core staking, core payments, and separate data services built on top. See Graph Horizon Overview and What changes with Graph Horizon?.

              • GraphPayments: The Graph Horizon contract that distributes query fees among the data service, Delegators, and Indexers, and applies the protocol tax.

              • GraphTally: The Graph’s payment system for pay-per-query micropayments between gateways and Indexers, formerly the Timeline Aggregation Protocol (TAP). A gateway sends a signed receipt with each query, and the Indexer aggregates receipts into RAVs that it redeems onchain. See GraphTally Guide.

              • GRT: The Graph’s work utility token. GRT provides economic incentives to network participants for contributing to the network.

              • L2 Transfer Tools: Smart contracts and UI that enable network participants to transfer network related assets from Ethereum mainnet to Arbitrum One. Network participants can transfer delegated GRT, Subgraphs, curation shares, and Indexer’s self-stake.

              • Migrating: The process of curation shares moving from an old version of a Subgraph to a new version of a Subgraph (e.g. when v0.0.1 is updated to v0.0.2).

              • PaymentsEscrow: The Graph Horizon contract that holds payers’ funds in escrow until Indexers collect the query fees they have earned.

              • Rewards Eligibility Oracle (REO): The protocol component that decides which Indexers can collect indexing rewards. An Indexer stays eligible by serving qualifying queries across a minimum number of Subgraphs on enough days within a rolling 28-day window. Eligibility status for every Indexer is public on the REO dashboard⁠. See Indexing Rewards Eligibility.

              • Slashing: Indexers can have their self-staked GRT slashed for providing an incorrect POI or for serving inaccurate data. The slashing percentage is a protocol parameter currently set to 2.5% of an Indexer’s self-stake. 50% of the slashed GRT goes to the Fisherman that disputed the inaccurate data or incorrect POI. The other 50% is burned.

              • Subgraph Service: The data service, built on Graph Horizon, for indexing Subgraphs and serving queries. It is currently the only data service, and the one The Graph’s interfaces support for delegation.

              • The Graph: A decentralized protocol for indexing and querying data.

              • The Graph Foundation’s Gateway: The gateway that The Graph Foundation operates at gateway.thegraph.com, with API keys and billing in Subgraph Studio. It is the default gateway in these docs.

              Developer Terms

              • Data Consumer: Any application or user that queries a Subgraph.

              • Endpoint: A URL that can be used to query a Subgraph. Each gateway has its own endpoint format. For The Graph Foundation’s Gateway, the endpoint for a published Subgraph is https://gateway.thegraph.com/api/<API_KEY>/subgraphs/id/<SUBGRAPH_ID>, the format that Graph Explorer shows. The testing endpoint for a version deployed to Subgraph Studio is https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>.

              • Graph CLI: A command line interface tool for building and deploying to The Graph.

              • Graph Explorer: A dapp designed for network participants to explore Subgraphs and interact with the protocol.

              • GraphQL: A query language for APIs and a runtime for fulfilling those queries with your existing data. The Graph uses GraphQL to query Subgraphs.

              • Query: A request for data. In the case of The Graph, a query is a request for data from a Subgraph that will be answered by an Indexer.

              • Sink: A destination for Substreams output, such as a SQL database, a PubSub topic, a direct stream to an application, or a Subgraph. See Sink your Substreams.

              • Subgraph: An open API that extracts data from a blockchain, processes it, and stores it so that it can be easily queried via GraphQL. Developers can build, deploy, and publish Subgraphs to The Graph Network. Once it is indexed, the Subgraph can be queried by anyone.

              • Subgraph Developer: A developer who builds and deploys a Subgraph to The Graph’s decentralized network.

              • Subgraph Manifest: A YAML file that describes the Subgraph’s GraphQL schema, data sources, and other metadata. Here⁠ is an example.

              • Subgraph Studio: A web app, operated by The Graph Foundation, for building, deploying, and publishing Subgraphs. It also issues API keys and handles billing for The Graph Foundation’s Gateway.

              • Substreams: A parallelized blockchain indexing technology. Developers write Rust modules that transform blockchain data, then send the output to a sink such as a database or a Subgraph. See Introduction to Substreams.

              • Substreams Module: A Rust function, compiled to WebAssembly, that defines one transformation of blockchain data. A Substreams package bundles one or more modules.

              • Substreams Package (.spkg): A precompiled binary file that defines the data to extract from a blockchain, similar to the mapping.ts file of a Subgraph. See Publishing a Substreams Package.

              • Substreams Registry: The public registry at Substreams.dev⁠ where developers publish, find, and inspect Substreams packages. See Using Substreams.dev.

              • Substreams-powered Subgraph: A Subgraph that uses a Substreams package as its data source. Substreams processes the chain’s history in parallel, then streams live blocks to the Subgraph.

              • The Graph Client: A library for building GraphQL-based dapps in a decentralized way.

              • Updating a Subgraph: The process of releasing a new Subgraph version with updates to the Subgraph’s manifest, schema, or mappings.

              Indexer Terms

              • Allocation: An Indexer can allocate their total GRT stake (including Delegators’ stake) towards Subgraphs that have been published on The Graph’s decentralized network. Allocations can have different statuses:

                1. Active: An allocation is considered active when it is created onchain. This is called opening an allocation, and indicates to the network that the Indexer is actively indexing and serving queries for a particular Subgraph. Active allocations accrue indexing rewards proportional to the signal on the Subgraph, and the amount of GRT allocated.

                2. Closed: An Indexer may claim the accrued indexing rewards on a given Subgraph by submitting a recent, and valid, Proof of Indexing (POI). This is known as closing an allocation. An allocation must have been open for a minimum of one epoch before it can be closed. The maximum allocation period is 28 epochs. If an Indexer leaves an allocation open beyond 28 epochs, it is known as a stale allocation. When an allocation is in the Closed state, a Fisherman can still open a dispute to challenge an Indexer for serving false data.

              • Cooldown Period: The time remaining until an Indexer who changed their delegation parameters can do so again.

              • Delegation Capacity: The maximum amount of GRT an Indexer can accept from Delegators. Indexers can only accept up to 16x their Indexer Self-Stake, and additional delegation results in diluted rewards. For example, if an Indexer has a Self-Stake of 1M GRT, their delegation capacity is 16M. However, Indexers can increase their Delegation Capacity by increasing their Self-Stake.

              • Firehose: A blockchain extraction layer that streams full block data from a chain’s nodes. Firehose is required for Substreams, and it can replace JSON-RPC as Graph Node’s extraction layer. See New Chain Integration.

              • Graph Node: Graph Node is the component that indexes Subgraphs and makes the resulting data available to query via a GraphQL API. As such it is central to the Indexer stack, and correct operation of Graph Node is crucial to running a successful Indexer.

              • Indexer: Network participants that run indexing nodes to index data from blockchains and serve GraphQL queries.

              • Indexer agent: The Indexer agent is part of the Indexer stack. It facilitates the Indexer’s interactions onchain, including registering on the network, managing Subgraph deployments to its Graph Node(s), and managing allocations.

              • Indexer Revenue Streams: Indexers are rewarded in GRT with two components: query fee rebates and indexing rewards.

                1. Query Fee Rebates: Payments from Subgraph consumers for serving queries on the network.

                2. Indexing Rewards: The rewards that Indexers receive for indexing Subgraphs. Indexing rewards are generated via new issuance of 3% GRT annually. Only Indexers that meet the rewards eligibility standard receive them.

              • Indexer’s Self-Stake: The amount of GRT that Indexers stake to participate in the decentralized network. The minimum is 100,000 GRT, and there is no upper limit.

              • Indexing Rewards: The rewards that Indexers receive for indexing Subgraphs. Indexing rewards are distributed in GRT, only to Indexers that are eligible under the Rewards Eligibility Oracle.

              • Legacy Allocation: An allocation opened before Graph Horizon. Indexers can close legacy allocations during the transition period, but new allocations are opened through the Subgraph Service.

              • Long-Lived Allocation: A Subgraph Service allocation that can stay open indefinitely. The Indexer presents POIs periodically to collect indexing rewards. If an allocation goes stale because POIs were not presented in time, the rewards for that period are forfeited.

              • Proof of Indexing (POI): When an Indexer closes their allocation and wants to claim their accrued indexing rewards on a given Subgraph, they must provide a valid and recent POI. Fishermen may dispute the POI provided by an Indexer. A dispute resolved in the Fisherman’s favor will result in slashing of the Indexer.

              • Provision: Stake that an Indexer assigns to a specific data service under Graph Horizon. Staked GRT must be provisioned to a data service, such as the Subgraph Service, before it can back allocations or fee collection there. See Provisions.

              • Receipt Aggregate Voucher (RAV): A signed voucher that aggregates many GraphTally query receipts into one amount, which an Indexer redeems onchain to collect query fees.

              • Stake-to-Fees Ratio: Under Graph Horizon, the ratio that sets how much provisioned stake an Indexer locks as collateral when collecting query fees. For example, collecting 10 GRT in fees might lock 50 GRT of stake temporarily.

              • Thawing Period: The waiting time before stake removed from a provision, or undelegated GRT, can be withdrawn.

              • Upgrade Indexer: An Indexer designed to act as a fallback for Subgraph queries not serviced by other Indexers on the network. The upgrade Indexer is not competitive with other Indexers.

              ⁠Edit on GitHub⁠

              AI ToolingTokenomics
              On this page
              • Protocol Terms
              • Developer Terms
              • Indexer Terms
              The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service