/v1/block
Block by height (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/plasma-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plasma-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plasma-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/plasma-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"hash": "0xd88cf7214c691bef18a106adf4139b8a766bf5387e8c4983555946ce049ee03b",
"miner": "0x000000000000000000000000000000000a11b005",
"number": 5000000,
"gas_used": 9333685,
"gas_limit": 36000000,
"timestamp": 1761929411,
"size_bytes": 3871,
"parent_hash": "0x3b86c1fdf47e7063cbda617342f052a6e7202a1fb47568973eb6ce0745ac1c83",
"timestamp_iso": "2025-10-31T16:50:11.000Z",
"transaction_count": 14,
"base_fee_per_gas_wei": "13"
},
"meta": {
"timestamp": "2026-06-15T11:14:41.906Z",
"request_id": "3da6c2d2-466a-4264-9359-c0b7a5cc3f1b"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}