/v1/block
Block summary
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/txlookup-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/txlookup-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/txlookup-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/txlookup-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hash": "0x49daa029c7bff41141ddfec3a77dab6acd5f5e47c4e2fabc8c3a7f7b8184d05e",
"chain": "ethereum",
"miner": "0x396343362be2a4da1ce0c1c210945346fb82aa49",
"number": 25279626,
"gas_used": 23947378,
"tx_count": 240,
"gas_limit": 60000000,
"timestamp": 1781005187,
"gas_used_pct": 39.9,
"base_fee_gwei": 0.154,
"timestamp_iso": "2026-06-09T11:39:47.000Z"
},
"meta": {
"timestamp": "2026-06-09T11:39:53.909Z",
"request_id": "b7a34d1e-bf19-46cc-b96f-151cb415fddc"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}