Vai al contenuto
GET /v1/blocks

Latest blocks

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/fuse-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0xe456a03cc44c1381e73817605d89dab6b7ece50eb92ba34d498eed46f4b7791c",
                "size": 961,
                "miner": "0x9B956e3d318625Be2686Ae7268d81777c462d41f",
                "height": 42383866,
                "reward": "104118140879211",
                "gas_used": 78699,
                "tx_count": 1,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T09:49:25.000000Z",
                "burnt_fees": "786990000000000",
                "difficulty": "340282366920938463463374607431768211454",
                "base_fee_per_gas": "10000000000"
            },
            {
                "hash": "0xce27f34d6add7a1c72251a4326757dee2dfc25c2aceda53ba7f3f426c37a6ede",
                "size": 1072,
                "miner": "0x0aD074d37B057cB99A58FB0F33aE6a8ce7124C64",
                "height": 42383865,
                "reward": "1316187960471921",
                "gas_used": 260784,
                "tx_count": 2,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T09:49:20.000000Z",
                "burnt_fees": "2607840000000000",
                "difficulty": "340282366920938463463374607431768211454",
                "base_fee_per_gas": "10000000000"
            },
            {
                "hash": "0xb1e9061e34cbe35dd799aa079b5dc1aea7c0e8c974d27739f4bbccb4a262e85e",
                "size": 575,
                "miner": "0x0bfDa4Cd2A98505C20236150BAA9676C0E85a891",
                "height": 42383864,
                "reward": "1184569164424",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T09:49:15.000000Z",
                "burnt_fees": "0",
                "difficulty": "340282366920938463463374607431768211454",
                "base_fee_per_gas": "10000000000"
            },
            {
                "hash": "0x5a39858ff325b71c4539931a54db8e7dec06f6511d98e439baa4a30624511129",
                "size": 583,
                "miner": "0x28C32719Fe055cb959404f9c783eF731f1150DCE",
                "height": 42383863,
                "reward": "0",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T09:49:10.000000Z",
                "burnt_fees": "0",
                "difficulty": "340282366920938463463374607431768211454",
                "base_fee_per_gas": "10000000000"
            },
            {
                "hash": "0xfd3330b115c5c499426f4eaee670e139fb2ebc614936c76cf19b01751e954dee",
                "size": 939,
                "miner": "0x8aeB7EF0b417a7B09064b8dEE3FC44d98535375f",
                "height": 42383862,
                "reward": "26323759209438",
                "gas_used": 424898,
                "tx_count": 3,
                "gas_limit": 20000000,
                "timestamp": "202
…