/v1/staking
Bonded/unbonded tokens, bonded ratio, inflation
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}