/v1/supply
Total XPRT supply
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/persistence-api/v1/supply" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/persistence-api/v1/supply", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/persistence-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/persistence-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": "The total supply of XPRT (the native token of Persistence), in both XPRT and the uxprt micro-denomination. No parameters.",
"denom": "XPRT",
"source": "Persistence (core-1) LCD",
"micro_denom": "uxprt",
"total_supply_xprt": 261481683.34,
"total_supply_uxprt": "261481683339988"
},
"meta": {
"timestamp": "2026-06-15T02:10:24.312Z",
"request_id": "4c13868e-7d0e-48e3-b7c7-99fb37b6802d"
},
"status": "ok",
"message": "Supply retrieved successfully",
"success": true
}