Aller au contenu
GET /v1/blocks

Latest blocks

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/taiko-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0xd17e096d9155665989b62feba608fc3dd82d444f180dd9af7920cfa73338a1f8",
                "size": 775,
                "miner": "0x5F62d006C10C009ff50C878Cd6157aC861C99990",
                "height": 7654357,
                "gas_used": 112068,
                "tx_count": 1,
                "gas_limit": 46000000,
                "timestamp": "2026-06-08T09:48:59.000000Z",
                "burnt_fees": "1120680000000",
                "difficulty": "0",
                "base_fee_per_gas": "10000000"
            },
            {
                "hash": "0x34f7fa2323d7a8554f0784f75afcb919c3e4c7cde73bf43520c68bbf27d784cc",
                "size": 775,
                "miner": "0x5F62d006C10C009ff50C878Cd6157aC861C99990",
                "height": 7654356,
                "gas_used": 112068,
                "tx_count": 1,
                "gas_limit": 46000000,
                "timestamp": "2026-06-08T09:48:53.000000Z",
                "burnt_fees": "1120680000000",
                "difficulty": "0",
                "base_fee_per_gas": "10000000"
            },
            {
                "hash": "0x09b369fa98eb5f589d92046a9ea8de1989ba179dd345ea9897e727929bae9525",
                "size": 775,
                "miner": "0x5F62d006C10C009ff50C878Cd6157aC861C99990",
                "height": 7654355,
                "gas_used": 112068,
                "tx_count": 1,
                "gas_limit": 46000000,
                "timestamp": "2026-06-08T09:48:47.000000Z",
                "burnt_fees": "1120680000000",
                "difficulty": "0",
                "base_fee_per_gas": "10000000"
            },
            {
                "hash": "0xa8f0b5212b0b02efaf32048ce0f8a37d7f7463b07d0f6dbf8e5dea57d1c5138f",
                "size": 1434,
                "miner": "0x5F62d006C10C009ff50C878Cd6157aC861C99990",
                "height": 7654354,
                "gas_used": 514951,
                "tx_count": 3,
                "gas_limit": 46000000,
                "timestamp": "2026-06-08T09:48:41.000000Z",
                "burnt_fees": "5149510000000",
                "difficulty": "0",
                "base_fee_per_gas": "10000000"
            },
            {
                "hash": "0x18c499f0fa935df45a06564b257758fada52a69dc6f9266159989099886d30e3",
                "size": 775,
                "miner": "0x5F62d006C10C009ff50C878Cd6157aC861C99990",
                "height": 7654353,
                "gas_used": 112068,
                "tx_count": 1,
                "gas_limit": 46000000,
                "timestamp": "2026-06-08T09:48:35.000000Z",
                "burnt_fees": "1120680000000",
                "difficulty": "0",
                "base_fee_per_gas": "10000000"
            },
            {
                "hash": "0x707df832a73e8e891bc488adff039e9a0fd96ae16fa9eaf9d1a672167e029fb0",
                "size": 1957,
                "miner": "0x5F62d006C10
…