/v1/balance
Native ROSE balance and transaction count of an address
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/sapphire-api/v1/balance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sapphire-api/v1/balance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sapphire-api/v1/balance");
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/sapphire-api/v1/balance",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"address": "0x000000000000000000000000000000000000dEaD",
"balance": "0.00776610637329577",
"balance_wei": "7766106373295770",
"native_symbol": "ROSE",
"transaction_count": 0
},
"meta": {
"timestamp": "2026-06-15T20:41:14.050Z",
"request_id": "17d27418-d40d-4c5f-9389-9438815644d0"
},
"status": "ok",
"message": "Balance retrieved successfully",
"success": true
}