/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/bitfinity-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitfinity-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitfinity-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/bitfinity-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": "0x4b5b37ba559d73c57ce3acf592a24dcb49e8b210e219f295c69215a854219aa8",
"size": 513,
"miner": "0x0000000000000000000000000000000000000000",
"height": 11677572,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 75000000,
"timestamp": "2026-06-08T09:49:26.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x3116b9972b84e86ba9e81318f8e372b781c3b7fe7f3bd6c8bda0aaf63020cea2",
"size": 513,
"miner": "0x0000000000000000000000000000000000000000",
"height": 11677571,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 75000000,
"timestamp": "2026-06-08T09:49:14.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0xefafded03538185d708fe38f00cfe656a3c89b872db1e8a51e4042f23af27c8b",
"size": 513,
"miner": "0x0000000000000000000000000000000000000000",
"height": 11677570,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 75000000,
"timestamp": "2026-06-08T09:49:01.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x79c8ca56fa1fb9201b3e9051c17547c07ea6711c6cee97d511bcb1302d2affef",
"size": 513,
"miner": "0x0000000000000000000000000000000000000000",
"height": 11677569,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 75000000,
"timestamp": "2026-06-08T09:48:49.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0xe38912cde20f0ae15d9876a2e9adf332990f4616210275dfad0a9a1d0b9489a6",
"size": 513,
"miner": "0x0000000000000000000000000000000000000000",
"height": 11677568,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 75000000,
"timestamp": "2026-06-08T09:48:37.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x518982a67cd9093a47e311cae1ee5c44097af9b61922f85624e1ce8bd9763a98",
"size": 513,
"miner": "0x0000000000000000000000000000000000000000",
"height": 11677567,
"gas_used": 0,
"t
…