Aller au contenu
GET /v1/account

An address ZIL balance and nonce

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/zilliqa-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/zilliqa-api/v1/account" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zilliqa-api/v1/account", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zilliqa-api/v1/account");
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/zilliqa-api/v1/account",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "nonce": 201318,
        "exists": true,
        "source": "Zilliqa",
        "address": "43e6a5c00e25d7e37530db5005086e72fd398a9d",
        "balance_zil": 82533750.83995956
    },
    "meta": {
        "timestamp": "2026-06-10T13:59:57.792Z",
        "request_id": "f1aa8723-a631-4a1d-a1f2-0a26034132ab"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}