/v1/block
A block by height or hash
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/hyperevm-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hyperevm-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hyperevm-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/hyperevm-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"block": {
"hash": "0xb324093ea08d9672026a21e0f57e14477c226feeb8e6b2cc19c4ffc62f41b477",
"size": 1614,
"miner": "0x0000000000000000000000000000000000000000",
"height": 37247338,
"reward": "7959572148409154",
"gas_used": 1907656,
"tx_count": 4,
"gas_limit": 3000000,
"timestamp": "2026-06-08T04:13:57.000000Z",
"burnt_fees": "233030933856872",
"difficulty": "0",
"base_fee_per_gas": "122155637"
}
},
"meta": {
"timestamp": "2026-06-08T09:50:07.155Z",
"request_id": "7643a8c1-e8b6-40d4-a494-29066430b7c3"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}