Retrieving information from Kleros Dapps
Last updated
Was this helpful?
Last updated
Was this helpful?
Here you will find information on how to retrieve the information from Kleros Dapps like Curate, Proof of Humanity and the Court to power your own applications.
Kleros uses three 3 registries on Gnosis Chain to curate information contracts across a number of EVM chains, including Ethereum, Gnosis, Polygon and Binance Smart Chain.
The registry URLs and their registry contract addresses on Gnosis chain are as below:
(0x70533554fe5c17CAf77fE530f77eAB933B92af60)
(0x66260C69d03837016d88c9877e61e08Ef74C59F2)
(0x957A53A994860BE4750810131d9c876b2f52d6E1)
The data from all three registries can be pulled from the Subgraph endpoint of Kleros Curate on Gnosis chain:
Here is a sample batched GraphQL query to retrieve the most important fields from each of these three registries for a single address:
If the intention is to retrieve entries that have passed curation, only filter on statuses Registered
and ClearingRequested
.
The full data object for each of the entries in Curate are stored as a JSON file on IPFS. If you want to retrieve the entire file to get all the data available, you can use the data
field to retrieve the IPFS URL, or use the props
array to retrieve all the available key-value pairs.
The is a list of verified real humans on the blockchain.
The subgraph endpoint for Proof of Humanity on Ethereum Mainnet is as follows:
You can also query the contract directly deployed at . In this case, to check if an address is currently accepted in the registry, you can simply query the isRegistered
function ().
If you wish to pull data from custom registries or any other Dapps of Kleros, simply :
If no subgraph exists for the application you want to read from, you can request one to the Kleros team, or and one.