Zum Inhalt springen
GET /v1/blocks

Most recent blocks

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/homeverse-api

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/homeverse-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/homeverse-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/homeverse-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/homeverse-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": "0x030dffbfdfe4263def64609b643b2edc9f4f39d033470ad0794ee5ea48320c57",
                "size": 914,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 2268880,
                "gas_used": 38025,
                "tx_count": 1,
                "gas_limit": 11000000,
                "timestamp": "2026-06-08T18:21:16.000000Z",
                "burnt_fees": "0",
                "difficulty": "2",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x79c98f13000911b4553ede4077e7dc184ec0e5e060ce430546c56e332ea0cb34",
                "size": 914,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 2268879,
                "gas_used": 38025,
                "tx_count": 1,
                "gas_limit": 11000000,
                "timestamp": "2026-06-08T18:21:16.000000Z",
                "burnt_fees": "0",
                "difficulty": "2",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xf3da4c33ad8c7fec2229e2018d5eaef86398e211ac35614f3907347be58c419a",
                "size": 914,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 2268878,
                "gas_used": 38013,
                "tx_count": 1,
                "gas_limit": 11000000,
                "timestamp": "2026-06-08T18:21:16.000000Z",
                "burnt_fees": "0",
                "difficulty": "2",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x45888d722267bc78b1fa41e6ad57a750fadaad8cab55e91dfe9ebfec7e067881",
                "size": 914,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 2268877,
                "gas_used": 38001,
                "tx_count": 1,
                "gas_limit": 11000000,
                "timestamp": "2026-06-08T18:21:10.000000Z",
                "burnt_fees": "0",
                "difficulty": "2",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x6313bd8515f734d43725560e95052979810711a1ca397104f1ca9803aab3bd09",
                "size": 914,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 2268876,
                "gas_used": 38025,
                "tx_count": 1,
                "gas_limit": 11000000,
                "timestamp": "2026-06-08T18:21:10.000000Z",
                "burnt_fees": "0",
                "difficulty": "2",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x26988997b4fc86026ece2ad2a3a30e52572896fa4e941b20e35057ccda7d7cbe",
                "size": 914,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 2268875,
                "gas_used": 38
…