Skip to content
GET /v1/block

Block by number (or latest)

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "hash": "0xb86cb8703f8ba7bb76525e892c52bcd656b4e2b86acb30a3d32129ace70c9293",
        "chain": "Superposition",
        "miner": "0xa4b000000000000000000073657175656e636572",
        "number": 1000000,
        "gas_used": 31186,
        "tx_count": 2,
        "gas_limit": 1125899906842624,
        "timestamp": 1741262438,
        "size_bytes": 906,
        "parent_hash": "0x7ec8723cedcf0cf48d16c5904764e0028aaf95e428d57cf142abe59df94a9fc8",
        "timestamp_iso": "2025-03-06T12:00:38.000Z"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:08.345Z",
        "request_id": "f3d3f5a0-1999-4f43-84bc-715cf0a18b0c"
    },
    "status": "ok",
    "message": "Superposition block retrieved",
    "success": true
}