Naar de inhoud
GET /v1/blocks

Most recent blocks

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/hela-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/hela-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hela-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hela-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/hela-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": "0xcfa5a8e79440282c5d417ac1476c2f7a1cac6be03d762276c498e5bc4ffac012",
                "size": 1168,
                "miner": "0x0000000000000000000000000000000088888888",
                "height": 517406,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 10000000,
                "timestamp": "2026-06-08T17:44:03.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xff0a5009fd02e2667d583b5b6efee741e95d7e871a1e4bac31268493da531073",
                "size": 1168,
                "miner": "0x0000000000000000000000000000000088888888",
                "height": 517405,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 10000000,
                "timestamp": "2026-06-08T17:43:58.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xb27cc155e29f91eff7dbcc11958dc7b6b510e37a3a22a7638965c3c1388533bd",
                "size": 2083,
                "miner": "0x0000000000000000000000000000000088888888",
                "height": 517404,
                "gas_used": 436761,
                "tx_count": 1,
                "gas_limit": 10000000,
                "timestamp": "2026-06-08T17:43:42.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xe943f8a4bfe194e38c27b3d230a5916f340382193d1468ce9f446b615d2b6cce",
                "size": 2082,
                "miner": "0x0000000000000000000000000000000088888888",
                "height": 517403,
                "gas_used": 422071,
                "tx_count": 1,
                "gas_limit": 10000000,
                "timestamp": "2026-06-08T17:27:11.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xdb674482a74dbb6e169425bc499dfbdbed901b267b7a3c6cd029d604036aba15",
                "size": 1887,
                "miner": "0x0000000000000000000000000000000088888888",
                "height": 517402,
                "gas_used": 52911,
                "tx_count": 1,
                "gas_limit": 10000000,
                "timestamp": "2026-06-08T17:27:01.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x9ac59be75dee8e0ce864a7bfc41fd29618eefc11fc3973667ccb8f39728c5608",
                "size": 2083,
                "miner": "0x0000000000000000000000000000000088888888",
                "height": 517401,
                "gas_used": 424461,

…