/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/oasys-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oasys-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oasys-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/oasys-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": "0xde0cabf9da6fc2d32c640f18fd5e16bddd78dacb804610428ab3b88d76e97ed0",
"size": 1471,
"miner": "0x0f66c21DfB9F600278b07571dB4b5d39789A5592",
"height": 13224432,
"reward": "231330000000000",
"gas_used": 115665,
"tx_count": 2,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:50:54.000000Z",
"burnt_fees": "809655",
"difficulty": "26000",
"base_fee_per_gas": "7"
},
{
"hash": "0xcbfd7e8b623e5db2d68756c52a69742b88ab5e2350ea16d726102dfea17e9948",
"size": 1183,
"miner": "0x01E3071fa5e49AEb3036C14D31EB508128810968",
"height": 13224431,
"reward": "54500000000000",
"gas_used": 27250,
"tx_count": 1,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:50:48.000000Z",
"burnt_fees": "190750",
"difficulty": "26000",
"base_fee_per_gas": "7"
},
{
"hash": "0x1500ba49790f6998b50633c2d27e29c49d1bad9d08fa6f4b72aabacc28a1805f",
"size": 898,
"miner": "0x9D1aBBdd9acd80f6E8aC087e8CFd5a6B2B1c4043",
"height": 13224430,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:50:42.000000Z",
"burnt_fees": "0",
"difficulty": "26000",
"base_fee_per_gas": "7"
},
{
"hash": "0xae2a9d1ae48779af759e641c0b4754d3566d6b689bacea2f13cd8ee2dfbc45a7",
"size": 898,
"miner": "0x0f66c21DfB9F600278b07571dB4b5d39789A5592",
"height": 13224429,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:50:36.000000Z",
"burnt_fees": "0",
"difficulty": "26000",
"base_fee_per_gas": "7"
},
{
"hash": "0x2899f65f86a09c403442a6639ebde51a834f692064f48d2772bcf4ce7b12d600",
"size": 1554,
"miner": "0x0f66c21DfB9F600278b07571dB4b5d39789A5592",
"height": 13224428,
"reward": "102040000000000",
"gas_used": 94618,
"tx_count": 3,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:50:30.000000Z",
"burnt_fees": "662326",
"difficulty": "25000",
"base_fee_per_gas": "7"
},
{
"hash": "0xd2372ed39f5c3eb6f9b5d7c5c4e1e2331ac07dd3ae8c23cb6484b488d579a875",
…