/v1/balance
Native GLMR 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/moonbeam-api/v1/balance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/moonbeam-api/v1/balance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/moonbeam-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/moonbeam-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": "357.508718246077327901",
"balance_wei": "357508718246077327901",
"native_symbol": "GLMR",
"transaction_count": 0
},
"meta": {
"timestamp": "2026-06-15T20:41:11.247Z",
"request_id": "eb76cc27-30c8-4c7e-81a8-ce8a6c55c289"
},
"status": "ok",
"message": "Balance retrieved successfully",
"success": true
}