Documentation Index
Fetch the complete documentation index at: https://kleros-mintlify-changelog-2026-05-12-1778458371.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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)
| Entity | Description |
|---|---|
Court | Court parameters, stake totals, dispute counts |
Dispute | Dispute status, court, ruling, rounds, template |
Round | Per-round data: juror draws, votes, appeal funding |
Draw | Individual juror draw records |
TokenAndETHShift | Reward/penalty records per juror per round |
JurorTokensPerCourt | Staked PNK per juror per court |
DisputeKit | Registered dispute kit contracts |
Further Reading
Subgraph Endpoints
Full list of subgraph URLs for V1 and V2
Query Examples
Common GraphQL queries for disputes, courts, and registries