/v1/blocks
Latest 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/etherlink-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/etherlink-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/etherlink-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/etherlink-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": "0x8712365cae1eed4714018714be9a27e9958641363742b01bf2191746c14fc9b8",
"size": 600,
"miner": "0x3B1885eeC759C22C878E12C84FAC33B3B9D153E4",
"height": 44818726,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:49:49.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "1000000000"
},
{
"hash": "0x7ff727a8d615d4ce2c48d8b91cbc32eac4e5632a1746987e99421db619b149a8",
"size": 700,
"miner": "0x3B1885eeC759C22C878E12C84FAC33B3B9D153E4",
"height": 44818725,
"gas_used": 2991241,
"tx_count": 3,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:49:43.000000Z",
"burnt_fees": "2991241000000000",
"difficulty": "0",
"base_fee_per_gas": "1000000000"
},
{
"hash": "0xc100aab12acbf85125ed248863b1cf72ac1846f3b9e9da423baa4f8f665b229c",
"size": 600,
"miner": "0x3B1885eeC759C22C878E12C84FAC33B3B9D153E4",
"height": 44818724,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:49:42.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "1000000000"
},
{
"hash": "0xcde7d637c5e3997244278333f6e5f4099039e2526f3167a77547f86babc2eb42",
"size": 766,
"miner": "0x3B1885eeC759C22C878E12C84FAC33B3B9D153E4",
"height": 44818723,
"gas_used": 5029352,
"tx_count": 5,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:49:36.000000Z",
"burnt_fees": "5029352000000000",
"difficulty": "0",
"base_fee_per_gas": "1000000000"
},
{
"hash": "0xd6444f60163ada3cbfb97b4ef5c8489766f01312b6839968f02e1fbfa9aadf6a",
"size": 633,
"miner": "0x3B1885eeC759C22C878E12C84FAC33B3B9D153E4",
"height": 44818722,
"gas_used": 4566660,
"tx_count": 1,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:49:35.000000Z",
"burnt_fees": "4566660000000000",
"difficulty": "0",
"base_fee_per_gas": "1000000000"
},
{
"hash": "0x3e9143d9c54743545ee8995657d0376d4789ea64a466db6e640679d994b8c98d",
"size": 600,
…