/v1/block
Block by number (or latest)
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/monad-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/monad-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/monad-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/monad-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"hash": "0xd0f94c697d3164ccb82bebe277fb593f6b2b2847759cadc59b7ea225051e5a76",
"chain": "Monad",
"miner": "0x0000000000000000000000000000000000000000",
"number": 5000000,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 150000000,
"timestamp": 1749744684,
"size_bytes": 618,
"parent_hash": "0x2b2bc28647623ef25b9ee1dbcf34ae2fda87f8762fe3e38c0fc143787a7a5857",
"timestamp_iso": "2025-06-12T16:11:24.000Z"
},
"meta": {
"timestamp": "2026-06-15T20:40:07.501Z",
"request_id": "ae12175e-85ae-4394-a381-4b97e7ceb30d"
},
"status": "ok",
"message": "Monad block retrieved",
"success": true
}