Naar de inhoud
GET /v1/blocks

Latest blocks

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/lumia-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x30040386f42fc4a3c49514f3596aab7b6f0db842c18ff5fc6153950b978a7be9",
                "size": 549,
                "miner": "0xCe06F92A73e888a7eb8885Bf4741eF4E5490f8Fb",
                "height": 17555915,
                "reward": "0",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:50:51.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x97d0e114c205d303ae2bd2034a0ca07f0811bea08c38b452067897caf1f8122a",
                "size": 549,
                "miner": "0xCe06F92A73e888a7eb8885Bf4741eF4E5490f8Fb",
                "height": 17555914,
                "reward": "0",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:50:48.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x262613e08ec64cdccbcd8a65447590ace20d29d482dbe93f686ea4be4749ff6b",
                "size": 549,
                "miner": "0xCe06F92A73e888a7eb8885Bf4741eF4E5490f8Fb",
                "height": 17555913,
                "reward": "0",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:50:45.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x07c421d057aa87899e61c0231aa182ff4338d511eb0db44c052e80a9f96aba09",
                "size": 549,
                "miner": "0xCe06F92A73e888a7eb8885Bf4741eF4E5490f8Fb",
                "height": 17555912,
                "reward": "0",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:50:42.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x36a87ebd1e3b745611468dfc4dfc4f8c5d96c483d37fc612eef723991106243c",
                "size": 549,
                "miner": "0xCe06F92A73e888a7eb8885Bf4741eF4E5490f8Fb",
                "height": 17555911,
                "reward": "0",
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:50:39.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xf89bf17e93f69f39013910d33eb7cd078383a418749e270094b141b171a9d845",
                "size": 549,
 
…