/v1/block
Block by number (or latest)
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/funki-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/funki-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/funki-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/funki-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hash": "0x5239147aba58d96e62427b5bccbbd085279d784d7a734849176cc6bbd9bd4d31",
"chain": "Funki",
"miner": "0x4200000000000000000000000000000000000011",
"number": 5000000,
"gas_used": 43842,
"tx_count": 1,
"gas_limit": 30000000,
"timestamp": 1731211095,
"size_bytes": 839,
"parent_hash": "0x607e5866f3717cfe3bd9d98eb775ee73b4b20dca7136fc42a55826edb7da1403",
"timestamp_iso": "2024-11-10T03:58:15.000Z"
},
"meta": {
"timestamp": "2026-06-15T20:40:16.678Z",
"request_id": "106066c7-01c7-4a5e-904a-515bea1f7528"
},
"status": "ok",
"message": "Funki block retrieved",
"success": true
}