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/vana-api

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/vana-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vana-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vana-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/vana-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": "0xe382836939ba36b838f62b2357a67f463afee3cbddba1c53bef1aafb18980c6f",
                "size": 672,
                "miner": "0x79D7E19e88f5089CC31e925160a7252F287a51a7",
                "height": 8721145,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 60000000,
                "timestamp": "2026-06-08T09:50:43.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xdd7abe06135548776c9eb28747cbb9b397e57a8d843fc9e0e2fb54b616aa52bd",
                "size": 640,
                "miner": "0x79D7E19e88f5089CC31e925160a7252F287a51a7",
                "height": 8721144,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 60000000,
                "timestamp": "2026-06-08T09:50:37.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x85fd1ca677189c5f323f424cdcd517bb6019eed8014d69664faa79d19c8d448f",
                "size": 640,
                "miner": "0x79D7E19e88f5089CC31e925160a7252F287a51a7",
                "height": 8721143,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 60000000,
                "timestamp": "2026-06-08T09:50:31.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x3c8af49809b84b0d4fbfc61971167ec9423b4ea9f5fba4d5ae5c4f0b3b24adc9",
                "size": 796,
                "miner": "0x79D7E19e88f5089CC31e925160a7252F287a51a7",
                "height": 8721142,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 60000000,
                "timestamp": "2026-06-08T09:50:25.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xb7a33e299826d480862d0c90d060a327896ff014af17572110d637c6d364b2cc",
                "size": 640,
                "miner": "0x79D7E19e88f5089CC31e925160a7252F287a51a7",
                "height": 8721141,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 60000000,
                "timestamp": "2026-06-08T09:50:19.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x95e0640e1001fda24f99e061fba767633c07b56b23f1a3a98a0690bf46cc44f1",
                "size": 890,
                "miner": "0x79D7E19e88f5089CC31e925160a7252F287a51a7",
                "height": 8721140,
                "gas_used": 0,
                "tx_coun
…