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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/telos-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/telos-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/telos-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/telos-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": "0xb2f4180dbdde5477d77883cbc92acae4e97d38520def80ef8a7f8ec988952f97",
                "size": 545,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 471800752,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 2147483647,
                "timestamp": "2026-06-08T09:49:54.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xa3c63b79a329c084268b72132ed04034bb08f7253334a7094abfc3a33d0d3275",
                "size": 545,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 471800751,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 2147483647,
                "timestamp": "2026-06-08T09:49:53.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xd752c99201e6c8ff631fd2e3af843c94d33098559dc7dc861947636c94f8f3ec",
                "size": 545,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 471800750,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 2147483647,
                "timestamp": "2026-06-08T09:49:53.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xce18f8fc2c08f785d20ad9ff811ed97d8d1279c5379fea716d17b88500a8433b",
                "size": 545,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 471800749,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 2147483647,
                "timestamp": "2026-06-08T09:49:52.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x7685e9622f9423d27a890895f29b5a993384200f7c6609972559d4b2fb9c6dfe",
                "size": 545,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 471800748,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 2147483647,
                "timestamp": "2026-06-08T09:49:52.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xf9d9be7345186438de786328148fbe57e522ce56744343efba0bd983a68dd192",
                "size": 545,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 471800747,
                "gas_used": 
…