/v1/block
Block by number (or latest)
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}