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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/plume-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plume-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plume-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/plume-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": "0xf61c6083a54d5fc181d8015273871d9ba908553a9dba115f9b443ce559b61186",
                "size": 821,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 73455585,
                "gas_used": 21161,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:51:30.000000Z",
                "burnt_fees": "21161000000000000",
                "difficulty": "1",
                "base_fee_per_gas": "1000000000000"
            },
            {
                "hash": "0x623e7a0fc2edf7c38c278f6c2fe155e6a03c5bebee1699b186de3fd2f3874047",
                "size": 821,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 73455584,
                "gas_used": 21161,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:51:29.000000Z",
                "burnt_fees": "21161000000000000",
                "difficulty": "1",
                "base_fee_per_gas": "1000000000000"
            },
            {
                "hash": "0x4489408c783933e6f749acd08cb3f482f0a24549c6131f1b95b30cda0405cdac",
                "size": 2783,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 73455583,
                "gas_used": 849122,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:51:29.000000Z",
                "burnt_fees": "849122000000000000",
                "difficulty": "1",
                "base_fee_per_gas": "1000000000000"
            },
            {
                "hash": "0x2301a34edfdd8c5d563a85c096d5881ddc73d8ae356432d28489e86dc93478fb",
                "size": 821,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 73455582,
                "gas_used": 21161,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:51:29.000000Z",
                "burnt_fees": "21161000000000000",
                "difficulty": "1",
                "base_fee_per_gas": "1000000000000"
            },
            {
                "hash": "0x8e6abd26ebff71a456327cf5efd50a53bf292602b246aad2b9717fdc0689f051",
                "size": 821,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 73455581,
                "gas_used": 21161,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:51:29.000000Z",
                "burnt_fees": "21161000000000000",
                "difficulty": "1",
                "base_fee_per_gas": "1000000000000"
            },
            {
                "hash": "0x12872a30192450bd6cb93e2ffac8d993bffdb1b5f6ff9e127
…