/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/energi-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/energi-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/energi-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/energi-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": "0x56552b96b0162dc91f803634b66e433b7df1344c4c5f7d316440d82a0c0b2e4a",
"size": 18117,
"miner": "0x7DBdF5bfb4d95A782bcf31A20459e6F56E77151b",
"height": 3282753,
"gas_used": 7530799,
"tx_count": 43,
"gas_limit": 40000000,
"timestamp": "2026-06-08T09:47:38.000000Z",
"burnt_fees": "0",
"difficulty": "424991062",
"base_fee_per_gas": null
},
{
"hash": "0x00c8c5db5af6c6c5221c75efe530434fac6841574d3efe79e4dc5053da1e0642",
"size": 22760,
"miner": "0x47e9C3aB71654A17aE63D851fdca0eCc192D9f87",
"height": 3282752,
"gas_used": 7111620,
"tx_count": 69,
"gas_limit": 40000000,
"timestamp": "2026-06-08T09:46:12.000000Z",
"burnt_fees": "0",
"difficulty": "424586105",
"base_fee_per_gas": null
},
{
"hash": "0xa6c974ca56c89b7490b53bc76dee59796275863bce2f95f33cf33dac21fe5652",
"size": 16327,
"miner": "0x7DBdF5bfb4d95A782bcf31A20459e6F56E77151b",
"height": 3282751,
"gas_used": 5202500,
"tx_count": 37,
"gas_limit": 40000000,
"timestamp": "2026-06-08T09:45:38.000000Z",
"burnt_fees": "0",
"difficulty": "426444544",
"base_fee_per_gas": null
},
{
"hash": "0xdcd7bf73e7d876c3a470ca87accecefca58dc84c7bbe46a2edd6d722783f2316",
"size": 26580,
"miner": "0x88f0D1c98896a2559F6c7b536E43161c6a54bF18",
"height": 3282750,
"gas_used": 8245096,
"tx_count": 88,
"gas_limit": 40000000,
"timestamp": "2026-06-08T09:42:49.000000Z",
"burnt_fees": "0",
"difficulty": "426492412",
"base_fee_per_gas": null
},
{
"hash": "0x6af20738cfb9a23d0251f3b419c3908071b937cccd55a12768e7cc62d4ebfb1c",
"size": 16329,
"miner": "0xC082FaeC63D910d859227Befb27A4802607101BA",
"height": 3282749,
"gas_used": 5202500,
"tx_count": 37,
"gas_limit": 40000000,
"timestamp": "2026-06-08T09:41:47.000000Z",
"burnt_fees": "0",
"difficulty": "426570837",
"base_fee_per_gas": null
},
{
"hash": "0x285a1a5edee29aa900c91707f96902791b882339d19976bc2f26dae83f4cc827",
"size": 19542,
"miner": "0x06e045407043F59A0Be985042865AB7f66eFa945"
…