/v1/block
Block by number (latest if omitted)
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/fraxtal-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fraxtal-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fraxtal-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/fraxtal-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hash": "0x1bcb40b7723221eb26c371ed6c9cdecb877d5620498085c6834a1d315bf974d6",
"miner": "0x4200000000000000000000000000000000000011",
"number": 37355691,
"gas_used": 48367,
"gas_limit": 30000000,
"timestamp": 1781522093,
"size_bytes": 897,
"parent_hash": "0x47ddb01fd0bb4d7eb52f3028b056cc52d682aa1323dcd9087b8c6b8ef7a26b91",
"transaction_count": 1,
"base_fee_per_gas_wei": "254"
},
"meta": {
"timestamp": "2026-06-15T11:14:53.916Z",
"request_id": "6d7b437f-7730-4b92-8ddd-006eede0a826"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}