Naar de inhoud
GET /v1/meta

Service metadata, supported chains & live sample

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/stateproof-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/stateproof-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stateproof-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stateproof-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/stateproof-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "chains": [
            "ethereum",
            "base",
            "arbitrum",
            "optimism",
            "bsc",
            "polygon",
            "avalanche",
            "gnosis",
            "linea",
            "scroll"
        ],
        "limits": {
            "max_slots": 16
        },
        "sample": {
            "chain": "ethereum",
            "is_contract": true,
            "proof_nodes": 9
        },
        "source": "public JSON-RPC nodes (publicnode.com) via eth_getProof / eth_getBlockByNumber; decoding computed locally",
        "service": "stateproof-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/roots": "Block state/transactions/receipts roots to verify proofs against (chain, block).",
            "GET /v1/account": "Account state + Merkle account proof (chain, address, block).",
            "GET /v1/storage": "Storage value(s) + storage proof(s) (chain, address, slots, block)."
        },
        "description": "Fetch verifiable Merkle-Patricia proofs of EVM account and storage state live via eth_getProof. Returns account nonce/balance/codeHash/storageHash with its account proof, per-slot storage values with their storage proofs, and the block state/tx/receipts roots the proofs verify against. The light-client and cross-chain-verification primitive. Live, short cache only.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:10.561Z",
        "request_id": "2e128678-049c-4216-83e2-ccdf21b99c15"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}