/v1/blocks
Latest blocks
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/vanar-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vanar-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vanar-api/v1/blocks");
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/vanar-api/v1/blocks",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 50,
"blocks": [
{
"hash": "0x51cd3f902ac604f5e6f64c061490a547f6b6b86f73121fb001621e8f9821307f",
"size": 644,
"miner": "0xCb342624F142e5FB42080c2457267CC400B79e00",
"height": 22972990,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:18.000000Z",
"burnt_fees": null,
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0x3dc054bc79117a32ee1cb611b254c2542c5836933c76e288bd4908f41e8f5be5",
"size": 644,
"miner": "0x08086ceB34D63C39371cb3Eb35D815683A6ED447",
"height": 22972989,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:15.000000Z",
"burnt_fees": null,
"difficulty": "1",
"base_fee_per_gas": null
},
{
"hash": "0x1483201f697e66916eb7606d7a6a649b748c807d458fc44e21d51a9a245644e4",
"size": 644,
"miner": "0x979A606BA0bE116130fCb083F55F966573d169e2",
"height": 22972988,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:12.000000Z",
"burnt_fees": null,
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0xb47cc1cae0d8c6c8cb1aed7705db9094350167ed305dd77a51146ec0042854c3",
"size": 644,
"miner": "0x7BA3d8494002F223d1fb31154fb6bf906b8Bb822",
"height": 22972987,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:09.000000Z",
"burnt_fees": null,
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0xe1bdbc5587528b45f29e2ed2ba94252722b69022f8af55cf09653291e0185850",
"size": 644,
"miner": "0xB15DB585591eFdb8eb28aAE6f3882f3d5CBcF6c0",
"height": 22972986,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:06.000000Z",
"burnt_fees": null,
"difficulty": "1",
"base_fee_per_gas": null
},
{
"hash": "0xc8999c06bdda50fc390b5b10a8b774eb4017e74b4629ab22d9d034656e30a888",
"size": 644,
"miner": "0x655c8f83f6B917b60912A1605A3Fa4d7BC9D98C6",
"height": 22972985,
"gas_used": 0,
…