Aller au contenu
GET /v1/staking-pool

Bonded / not-bonded staking 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/xion-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/xion-api/v1/staking-pool" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/xion-api/v1/staking-pool", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/xion-api/v1/staking-pool");
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/xion-api/v1/staking-pool",
    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": {
        "bonded_xion": 59142222.30861,
        "bonded_ratio": 0.967015,
        "bonded_uxion": "59142222308610",
        "not_bonded_xion": 2017353.472019,
        "not_bonded_uxion": "2017353472019"
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:20.155Z",
        "request_id": "3df13416-6b07-43c9-bd7f-70a4fc43a189"
    },
    "status": "ok",
    "message": "Staking pool retrieved successfully",
    "success": true
}