Aller au contenu
GET /v1/info

Live EOS chain head, irreversible block and producer

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/eos-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/eos-api/v1/info" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/eos-api/v1/info", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/eos-api/v1/info");
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/eos-api/v1/info",
    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": {
        "chain": "eos",
        "source": "EOS",
        "chain_id": "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906",
        "consensus": "DPoS",
        "native_token": "EOS",
        "head_block_num": 503585207,
        "server_version": "v1.0.5",
        "head_block_time": "2026-06-10T14:00:01.000",
        "head_block_producer": "newdex.bp",
        "last_irreversible_block_num": 503585205
    },
    "meta": {
        "timestamp": "2026-06-10T14:00:01.324Z",
        "request_id": "f0630261-633b-4b7d-bce7-65264d021685"
    },
    "status": "ok",
    "message": "Info retrieved successfully",
    "success": true
}