/v1/blocks
The most recent 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/ethereum-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ethereum-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ethereum-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/ethereum-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": "0xc49922111a6b6e63242a31f803cfe5c64f4ba4f590a52b20f67b4318ffa09c10",
"size": 103530,
"miner": "0x396343362be2A4dA1cE0C1C210945346fb82Aa49",
"height": 25269360,
"reward": "7743860736987449",
"gas_used": 16697828,
"tx_count": 150,
"gas_limit": 60000000,
"timestamp": "2026-06-08T01:19:35.000000Z",
"burnt_fees": "2228446272644312",
"difficulty": "0",
"base_fee_per_gas": "133457254"
},
{
"hash": "0x73cf1525ac08611d2d602da63d4322bded337ab9d54a871a5356433844629800",
"size": 211679,
"miner": "0x396343362be2A4dA1cE0C1C210945346fb82Aa49",
"height": 25269359,
"reward": "11237278857663170",
"gas_used": 28742799,
"tx_count": 172,
"gas_limit": 60000000,
"timestamp": "2026-06-08T01:19:23.000000Z",
"burnt_fees": "3856134747381171",
"difficulty": "0",
"base_fee_per_gas": "134160029"
},
{
"hash": "0xe7b229263e0fb8cdfb7ba9dccdd29d94eade4a98231af64d8a13118610bcd451",
"size": 115115,
"miner": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
"height": 25269358,
"reward": "23341052457214990",
"gas_used": 27158522,
"tx_count": 337,
"gas_limit": 60000000,
"timestamp": "2026-06-08T01:19:11.000000Z",
"burnt_fees": "3687243169074812",
"difficulty": "0",
"base_fee_per_gas": "135767446"
},
{
"hash": "0x948599e95db4bd935a25b140b4eb8fcf0a79ebe4ad71efab43ade276e255d1ed",
"size": 118309,
"miner": "0x396343362be2A4dA1cE0C1C210945346fb82Aa49",
"height": 25269357,
"reward": "9078980634148843",
"gas_used": 24811338,
"tx_count": 190,
"gas_limit": 60000000,
"timestamp": "2026-06-08T01:18:59.000000Z",
"burnt_fees": "3443007817330422",
"difficulty": "0",
"base_fee_per_gas": "138767519"
},
{
"hash": "0x624793b07978642daf91f1e9fb4b3f37a605d231b136381829ed964388782a5c",
"size": 332674,
"miner": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
"height": 25269356,
"reward": "11729127028394848",
"gas_used": 45944730,
"tx_count": 475,
"gas_limit": 60000000,
"timestamp": "2026-06-08T01:18:47.000000Z",
"burnt_fees": "59
…