Skip to content
GET /v1/blocks

Latest blocks

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/iotaevm-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x8e3be3594c3fdb5d35a68ae9c3120d113e679300b6dc2628df39d92ea1316c5b",
                "size": 7320,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 12115248,
                "gas_used": 914165,
                "tx_count": 1,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:48:47.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x5dfa532aa4f45971b27ad4c2dc5830248df06279a932fbe838b880d3345e31ba",
                "size": 626,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 12115247,
                "gas_used": 42304,
                "tx_count": 1,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:48:10.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xd3cc4475a341e79205ce745bb335f39fd80cd4ae9a5b62e87aeb68b5e848b488",
                "size": 626,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 12115246,
                "gas_used": 42963,
                "tx_count": 1,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:48:05.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xb7f968031215b5cc973f4acd626481ec1ce189af32b11f7824b7d5c34419019b",
                "size": 658,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 12115245,
                "gas_used": 56665,
                "tx_count": 1,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:48:03.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x3d3f41266f5c6ff9314fafd432d2a897772e9c3570f455150c906f7280876015",
                "size": 626,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 12115244,
                "gas_used": 42241,
                "tx_count": 1,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:48:01.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x5a80ead04ffc0af5904703daa4d3f8d69773cd00a12ba1498990816a2de5485d",
                "size": 1624,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 12115243,
           
…