Public API and indexer
The same data as JSON, or as GraphQL from the Envio indexer.
The data behind Tare, as JSON, for anyone to read. No key, no sign-up.
Start here
curl https://api.tarefi.xyz/
GET / at api.tarefi.xyz lists every route below. Everything is read-only and open to any website.
Routes
Is the backend running, and when did each watched vault last get a verdict.
Every pool Tare tracks, with its verdict.
One pool and its verdict.
The Verdict Ledger: every verdict posted onchain and how it was graded.
The newest verdict for one vault.
The Watch feed for one wallet.
The scoreboard: Brier score and hit rates.
Also public
- What Jev saw
- https://ledger.tarefi.xyz/state/{stateHash}.json
- Source code
- github.com/0xGanadhish/tare
The Envio indexer
Tare's own events and the watched vaults' deposits and withdrawals are indexed on both networks with Envio HyperIndex, into one GraphQL schema. Ids start with the chain id (143 mainnet, 10143 testnet) and addresses are lowercase.
- Verdict
- Every oracle post with its grade, linked to the exits it caused.
- Protection
- Each wallet’s Guardian rule per vault, on or off.
- Exit
- Every Guardian exit: who, how much, which verdict, who called it.
- VaultFlowHour
- Deposits, withdrawals and the largest withdrawal per vault per hour. Jev is shown these.
- LargeWithdrawal
- Single withdrawals of at least 1% of a vault.
query {
Verdict(where: { chainId: { _eq: 143 }, vault: { _eq: "0xe1bca19baa63894d374578320551633320436523" } },
order_by: { postId: desc }, limit: 5) {
postId verdict confidenceBps resolved adverse reasons txHash
exits { owner assets remainingShares txHash }
}
}Run it yourself with pnpm -C indexer dev (GraphQL at localhost:8080/v1/graphql). The schema is in indexer/schema.graphql.
Every signature, response shape and query in one file: docs/developers.md on GitHub.