Vai al contenuto
GET /v1/staking

Bonded/unbonded tokens, bonded ratio, inflation

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/cosmoschain-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/cosmoschain-api/v1/staking" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cosmoschain-api/v1/staking", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cosmoschain-api/v1/staking");
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/cosmoschain-api/v1/staking",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Network staking state: bonded vs not-bonded tokens (in the chain's base denom), the bonded ratio, and current inflation. Some chains do not run the mint module, so inflation can be null.",
        "chain": "cosmoshub",
        "source": "Cosmos LCD",
        "inflation": 0.1,
        "bond_denom": "uatom",
        "bonded_ratio": 0.9527149386940329,
        "bonded_tokens": "320640054024365",
        "inflation_pct": 10,
        "max_validators": 200,
        "unbonding_time": "1814400s",
        "not_bonded_tokens": "15913978038881"
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:55.441Z",
        "request_id": "6059e2ff-f903-4ed7-973b-26761e45a70b"
    },
    "status": "ok",
    "message": "Staking retrieved successfully",
    "success": true
}