/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/mantle-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mantle-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mantle-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/mantle-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hash": "0xae2d7b4572190f817df4ff332cf82b8273394724a3b997cef51467b60e872717",
"miner": "0x4200000000000000000000000000000000000011",
"number": 96695888,
"gas_used": 57487,
"gas_limit": 60000000,
"timestamp": 1781522088,
"size_bytes": 912,
"parent_hash": "0x878197c2612067a2ac2626a706fec2dddba1f11293777812221d2f0bfac04156",
"transaction_count": 1,
"base_fee_per_gas_wei": "50000000000"
},
"meta": {
"timestamp": "2026-06-15T11:14:50.921Z",
"request_id": "16c88f47-f9ed-42bf-a6fe-be43a53b96da"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}