/v1/blocks
Latest blocks
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/aurora-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aurora-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aurora-api/v1/blocks");
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/aurora-api/v1/blocks",
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": {
"count": 50,
"blocks": [
{
"hash": "0x3b570de70e4991e4d3a06dc0caf8a4713c787f7593f30b1f37ae4c6eecdb698d",
"size": 0,
"miner": "0x0000000000000000000000000000000000000000",
"height": 201824428,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 9007199254740991,
"timestamp": "2026-06-08T09:49:43.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": null
},
{
"hash": "0x33ec9ff99684c35c2f1a4ae938d91718cee20756cc21a3c803efea060c574a0b",
"size": 0,
"miner": "0x0000000000000000000000000000000000000000",
"height": 201824427,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 9007199254740991,
"timestamp": "2026-06-08T09:49:43.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": null
},
{
"hash": "0xf0841648e7d9a2b6be44a859c429ce9e7cc8bffd66293687ad60604d9448aedd",
"size": 0,
"miner": "0x0000000000000000000000000000000000000000",
"height": 201824426,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 9007199254740991,
"timestamp": "2026-06-08T09:49:42.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": null
},
{
"hash": "0x6a1836279b067ede72aac6e5f5917d5c09e1c92dd09bc96e74091b5b379b6682",
"size": 0,
"miner": "0x0000000000000000000000000000000000000000",
"height": 201824425,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 9007199254740991,
"timestamp": "2026-06-08T09:49:42.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": null
},
{
"hash": "0xf1b7f735717cb3eb508e6d55042212651e1f795dd423d1b89d53f063152ff3f3",
"size": 0,
"miner": "0x0000000000000000000000000000000000000000",
"height": 201824424,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 9007199254740991,
"timestamp": "2026-06-08T09:49:41.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": null
},
{
"hash": "0x3de01118a7951c7248a581365cf7c3a625110752a7aff241f59be69e89edafd2",
"size": 0,
"miner": "0x0000000000000000000000000000000000000000",
"height": 201824423,
…