/v1/supply
Total supply of a coin
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/aptosview-api/v1/supply" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aptosview-api/v1/supply", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aptosview-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/aptosview-api/v1/supply",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"coin": "0x1::aptos_coin::AptosCoin",
"note": "Total supply from 0x1::coin::supply (an Option — null when the coin tracks no aggregated supply). Raw integer.",
"source": "Aptos fullnode REST /view",
"supply": "120417204337589432"
},
"meta": {
"timestamp": "2026-06-14T08:04:05.765Z",
"request_id": "c6b112b8-10f6-4bdc-aa28-fcb3b2cc0a10"
},
"status": "ok",
"message": "Supply retrieved successfully",
"success": true
}