Subgraph & Data
Kleros V2 uses The Graph for indexing on-chain data. Thesubgraph package in the kleros-v2 monorepo indexes KlerosCore, SortitionModule, DisputeKitClassic, and related contracts on Arbitrum.
For V1 products (Curate, PoH, Escrow, Linguo), separate subgraphs exist on Ethereum and Gnosis Chain.
When to Use Subgraphs
- Fetching dispute data (status, rulings, evidence, rounds)
- Querying court statistics (stakes, juror counts, parameters)
- Listing Curate registry items with field data
- Checking PoH registration status
- Building dashboards or analytics tools
- Displaying dispute history in your frontend
V2 Subgraph (Arbitrum)
The V2 core subgraph indexes all court activity on Arbitrum One. It is maintained in the kleros-v2 monorepo. Source code: kleros-v2/subgraphLocal Development
To run the V2 subgraph locally:Key Entities (V2)
Further Reading
Subgraph Endpoints
Full list of subgraph URLs for V1 and V2
Query Examples
Common GraphQL queries for disputes, courts, and registries