Aller au contenu
GET /v1/supply

Total supply of the staking denom + community pool

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/cosmoschain-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Total supply of the chain's staking/base denom and the amount in its community pool (raw integer amounts in the base denom).",
        "chain": "cosmoshub",
        "denom": "uatom",
        "source": "Cosmos LCD",
        "total_supply": "513975642561317",
        "community_pool": "10442400074534.445770926332304818"
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:55.615Z",
        "request_id": "c2d88938-871a-4748-8d60-e1fee7a356ac"
    },
    "status": "ok",
    "message": "Supply retrieved successfully",
    "success": true
}