Skip to content
GET /v1/blocks

The most recent 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/gnosis-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/gnosis-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gnosis-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gnosis-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/gnosis-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": "0xf22a8518d4025f9ea434730122bc14294f3d0e7db2e0644725186084be13c09e",
                "size": 6037,
                "miner": "0x30db0d10d3774e78f8cB214b9e8B72D4B402488a",
                "height": 46583167,
                "reward": "367635530934102",
                "gas_used": 8055860,
                "tx_count": 6,
                "gas_limit": 17000000,
                "timestamp": "2026-06-08T01:18:50.000000Z",
                "burnt_fees": "1353384480",
                "difficulty": "0",
                "base_fee_per_gas": "168"
            },
            {
                "hash": "0x0cb92af353276ba2c1c394719dc267c9764f2c13850a8e821ed2c82d2607e457",
                "size": 16841,
                "miner": "0x4354A28c70E33032619DF646b6DD0D39d0C75916",
                "height": 46583166,
                "reward": "96309120369661",
                "gas_used": 3788833,
                "tx_count": 18,
                "gas_limit": 17000000,
                "timestamp": "2026-06-08T01:18:45.000000Z",
                "burnt_fees": "681989940",
                "difficulty": "0",
                "base_fee_per_gas": "180"
            },
            {
                "hash": "0x0219d6be34c5941794a49990a69f8d8ac9a1b7db853f06cecce2c96f36fd90c3",
                "size": 136696,
                "miner": "0x30db0d10d3774e78f8cB214b9e8B72D4B402488a",
                "height": 46583165,
                "reward": "661074144985191",
                "gas_used": 11765342,
                "tx_count": 13,
                "gas_limit": 17000000,
                "timestamp": "2026-06-08T01:18:40.000000Z",
                "burnt_fees": "2023638824",
                "difficulty": "0",
                "base_fee_per_gas": "172"
            },
            {
                "hash": "0x754c859fc897baf75d42a6d02d374f4998d2fc94c6523d0899bc03a7c14adba2",
                "size": 10089,
                "miner": "0x30db0d10d3774e78f8cB214b9e8B72D4B402488a",
                "height": 46583164,
                "reward": "86623450858568531",
                "gas_used": 2949450,
                "tx_count": 16,
                "gas_limit": 17000000,
                "timestamp": "2026-06-08T01:18:35.000000Z",
                "burnt_fees": "551547150",
                "difficulty": "0",
                "base_fee_per_gas": "187"
            },
            {
                "hash": "0xa15df2a5d57dfa3fb56f99aedfddff1f43e0fe85fa3baca188331ff37b1e610d",
                "size": 5593,
                "miner": "0x30db0d10d3774e78f8cB214b9e8B72D4B402488a",
                "height": 46583163,
                "reward": "32645650947",
                "gas_used": 1960428,
                "tx_count": 9,
                "gas_limit": 17000000,
                "timestamp": "2026-06-08T01:18:30.000000Z",
                "burnt_fees": "403848168",
                "difficulty": "0",
                "base_fee_per_gas
…