Zum Inhalt springen
GET /v1/blocks

Latest blocks

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/world-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/world-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/world-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/world-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/world-api/v1/blocks",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x7c9b0a7caba14ac1d95eeca08357373a040d0560a0a42f494cac580bf24dc33b",
                "size": 49543,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 30788312,
                "gas_used": 10456696,
                "tx_count": 36,
                "gas_limit": 280000000,
                "timestamp": "2026-06-08T09:51:03.000000Z",
                "burnt_fees": "5228348000000",
                "difficulty": "0",
                "base_fee_per_gas": "500000"
            },
            {
                "hash": "0x12e19d69b0f49e1fd3a263e63be8ecbda30323f4a8c56b50d44ddcfe87d5495c",
                "size": 36268,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 30788311,
                "gas_used": 7199071,
                "tx_count": 30,
                "gas_limit": 280000000,
                "timestamp": "2026-06-08T09:51:01.000000Z",
                "burnt_fees": "3599535500000",
                "difficulty": "0",
                "base_fee_per_gas": "500000"
            },
            {
                "hash": "0x70cd09d3c7c5dedb5ccb7cf247c84454058bda065359edd3a99734766973805b",
                "size": 33505,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 30788310,
                "gas_used": 7950158,
                "tx_count": 25,
                "gas_limit": 280000000,
                "timestamp": "2026-06-08T09:50:59.000000Z",
                "burnt_fees": "3975079000000",
                "difficulty": "0",
                "base_fee_per_gas": "500000"
            },
            {
                "hash": "0x411cd1ab60b9f7682878ee64cfba49daa5a9b876f0a6ca00fe549491fa6e4600",
                "size": 35947,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 30788309,
                "gas_used": 8460237,
                "tx_count": 24,
                "gas_limit": 280000000,
                "timestamp": "2026-06-08T09:50:57.000000Z",
                "burnt_fees": "4230118500000",
                "difficulty": "0",
                "base_fee_per_gas": "500000"
            },
            {
                "hash": "0x82aff2c88883444a1231b3873dde023190184685028ad92efad448d0781196ef",
                "size": 43651,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 30788308,
                "gas_used": 8784164,
                "tx_count": 27,
                "gas_limit": 280000000,
                "timestamp": "2026-06-08T09:50:55.000000Z",
                "burnt_fees": "4392082000000",
                "difficulty": "0",
                "base_fee_per_gas": "500000"
            },
            {
                "hash": "0xd35816b25ea7dc9001fd5b3671f75d4ef09563419cb8bd91b39a3cfe47f004b9",
                "size": 37852,
                "m
…