Skip to content
GET /v1/block

A block by height or hash

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "block": {
            "hash": "0x095e532044ab70d1b7a203a2b0ec08e8d72620eb725aa041ffed32c72236b11a",
            "size": 2965,
            "miner": "0x0000000000000000000000000000000000000000",
            "height": 7973664,
            "gas_used": 220176,
            "tx_count": 8,
            "gas_limit": 1000000000,
            "timestamp": "2026-06-08T06:07:40.000000Z",
            "burnt_fees": "0",
            "difficulty": "0",
            "base_fee_per_gas": null
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:22.603Z",
        "request_id": "1b762c11-94f2-4f07-823e-b152cfe7b2a6"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}