/v1/blocks
The most recent blocks
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/arbitrum-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/arbitrum-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/arbitrum-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/arbitrum-api/v1/blocks",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 50,
"blocks": [
{
"hash": "0x9fe6ff3aaf36b0cd3c66ec6999ac0d63b1c7c2640cd0b439cb6d808e23cb3567",
"size": 1334,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 471183140,
"gas_used": 53517,
"tx_count": 2,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T01:18:55.000000Z",
"burnt_fees": "1070554068000",
"difficulty": "1",
"base_fee_per_gas": "20004000"
},
{
"hash": "0x61b6bc73854d6fa97e71086404c08571594c17e806bb707ed6ff63d1eeb0cff7",
"size": 5114,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 471183139,
"gas_used": 556164,
"tx_count": 4,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T01:18:55.000000Z",
"burnt_fees": "11123280000000",
"difficulty": "1",
"base_fee_per_gas": "20000000"
},
{
"hash": "0x5b40c989a420a1d499c54ab2e1d5898d03ce8fece370867a4b8bff2f60f6447e",
"size": 1179,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 471183138,
"gas_used": 118410,
"tx_count": 4,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T01:18:55.000000Z",
"burnt_fees": "2387145600000",
"difficulty": "1",
"base_fee_per_gas": "20160000"
},
{
"hash": "0x99d36eb3126177eda671783ae7993bece283e7fd586653a703f178492412598d",
"size": 883,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 471183137,
"gas_used": 169651,
"tx_count": 2,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T01:18:54.000000Z",
"burnt_fees": "3407270684000",
"difficulty": "1",
"base_fee_per_gas": "20084000"
},
{
"hash": "0x4283f2fe1f7bb9d51faed6aa5af4bc5c230f63c837fb77026cbad4fa564f57e0",
"size": 882,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 471183136,
"gas_used": 1583812,
"tx_count": 2,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T01:18:54.000000Z",
"burnt_fees": "31761765848000",
"difficulty": "1",
"base_fee_per_gas": "20054000"
},
{
"hash": "0xc311675aa0a09549fc7565579486e8ab3364cc9dde246aacd7863540f7b17f85",
…