Naar de inhoud
GET /v1/blocks

Latest 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/soneium-api

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/soneium-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soneium-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soneium-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/soneium-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": "0xd95258fd9228b3dae3f132c909aa82822326a3d470685c93d764cb886f232fab",
                "size": 15451,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 23873367,
                "reward": "1089436977038",
                "gas_used": 4005303,
                "tx_count": 44,
                "gas_limit": 40000000,
                "timestamp": "2026-06-08T01:18:05.000000Z",
                "burnt_fees": "1862465895",
                "difficulty": "0",
                "base_fee_per_gas": "465"
            },
            {
                "hash": "0xd34cc20efc1f5354ae995ff922c968db655c7e2f4029aef81a21f0b18f2babb6",
                "size": 14281,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 23873366,
                "reward": "148420274278",
                "gas_used": 2237628,
                "tx_count": 46,
                "gas_limit": 40000000,
                "timestamp": "2026-06-08T01:18:03.000000Z",
                "burnt_fees": "1040497020",
                "difficulty": "0",
                "base_fee_per_gas": "465"
            },
            {
                "hash": "0xb89bb60b0c79e3344fa114b7ffbaa2e37b5c11224b2e51e936b8396775da1c60",
                "size": 15742,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 23873365,
                "reward": "836346567510",
                "gas_used": 3938797,
                "tx_count": 41,
                "gas_limit": 40000000,
                "timestamp": "2026-06-08T01:18:01.000000Z",
                "burnt_fees": "1831540605",
                "difficulty": "0",
                "base_fee_per_gas": "465"
            },
            {
                "hash": "0xae3a5dc290a699c05c6c26aaf514e2b6fee61e34f02f2e4b8eee615793607e5c",
                "size": 10029,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 23873364,
                "reward": "2527268475014",
                "gas_used": 2023601,
                "tx_count": 38,
                "gas_limit": 40000000,
                "timestamp": "2026-06-08T01:17:59.000000Z",
                "burnt_fees": "940974465",
                "difficulty": "0",
                "base_fee_per_gas": "465"
            },
            {
                "hash": "0x609ca2b9043e96d420890f114b2f3f600febf1edff574b81663fbc2b1868280e",
                "size": 14281,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 23873363,
                "reward": "971395885980",
                "gas_used": 3204614,
                "tx_count": 42,
                "gas_limit": 40000000,
                "timestamp": "2026-06-08T01:17:57.000000Z",
                "burnt_fees": "1490145510",
                "difficulty": "0",
                "base_fee_per_gas": "46
…