/v1/supply
Mined and ultimate DCR supply and percent issued
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/decred-api/v1/supply" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/decred-api/v1/supply", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/decred-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/decred-api/v1/supply",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"source": "Decred (dcrdata)",
"block_height": 1087582,
"percent_issued": 83.1424,
"supply_mined_dcr": 17459894.91222925,
"supply_ultimate_dcr": 20999999.9839432
},
"meta": {
"timestamp": "2026-06-10T13:59:12.428Z",
"request_id": "70a46a4b-f9b7-489f-85c0-5d51c6b8ae6e"
},
"status": "ok",
"message": "Supply retrieved successfully",
"success": true
}