/v1/balance
A Core-space address's CFX balance and staked balance
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/conflux-api/v1/balance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/conflux-api/v1/balance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/conflux-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/conflux-api/v1/balance",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"source": "Conflux",
"address": "cfx:aara421audx4ev6t7c40a3f6vzjwf5a3apxbm53nxc",
"balance_cfx": 53578.30923481,
"staking_balance_cfx": 0,
"storage_collateral_cfx": 0
},
"meta": {
"timestamp": "2026-06-10T22:58:23.286Z",
"request_id": "a106ce78-146e-49d5-af2f-d5e87e65020f"
},
"status": "ok",
"message": "Balance retrieved successfully",
"success": true
}