Vai al contenuto
GET /v1/blocks

Most recent blocks

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/shibarium-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/shibarium-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/shibarium-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/shibarium-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": "0xf83dd6dbf2f64c05b683b728e9d2141ea8d8507f2aa2c2f40a43e13b0e883b28",
                "size": 615,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 17599572,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T18:26:06.000000Z",
                "burnt_fees": "0",
                "difficulty": "3",
                "base_fee_per_gas": "15"
            },
            {
                "hash": "0x0e82386b98204ac95dc5acb72bb61bbcfd1aea826bcf082d2862e00c7d34c9ab",
                "size": 615,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 17599571,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T18:25:56.000000Z",
                "burnt_fees": "0",
                "difficulty": "3",
                "base_fee_per_gas": "15"
            },
            {
                "hash": "0xd7fa554971c90592ed28c884c16be4cd80c3b764c559a95475af477d4f5f87d3",
                "size": 615,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 17599570,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T18:25:46.000000Z",
                "burnt_fees": "0",
                "difficulty": "3",
                "base_fee_per_gas": "15"
            },
            {
                "hash": "0x7786605a24926537d749368df87afeb7a8b93e92527e0f8a5e23e21e559e7ecc",
                "size": 615,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 17599569,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T18:25:36.000000Z",
                "burnt_fees": "0",
                "difficulty": "3",
                "base_fee_per_gas": "15"
            },
            {
                "hash": "0xbe3d6bec41813e3f49b2ef0d32841d15cb84ce154898db8da3aa9999d8aa568b",
                "size": 615,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 17599568,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 20000000,
                "timestamp": "2026-06-08T18:25:26.000000Z",
                "burnt_fees": "0",
                "difficulty": "3",
                "base_fee_per_gas": "15"
            },
            {
                "hash": "0x349fde3d056ac095dc69225829a3f4dff108a8e3b1b18a031c03abf35dbbb85d",
                "size": 615,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 17599567,
                "gas_used": 0,
             
…