/v1/blocks
Latest blocks
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/kcc-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kcc-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kcc-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/kcc-api/v1/blocks",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 50,
"blocks": [
{
"hash": "0x68e20d049ddbbfbbeb8ec2892503ac6d88f146209ace15f8fc9a100b8c833603",
"size": 611,
"miner": "0x622537dCE67DF1e4C3411A3B476B0066eA4684CF",
"height": 52788837,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 20000000,
"timestamp": "2026-06-08T09:49:33.000000Z",
"burnt_fees": "0",
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0x4e2b102f6bfe313816a57c344ee7df8174f5e579a86beba719239c6fea5524d7",
"size": 611,
"miner": "0x50eD8C7eba4C70ef047555b9055C20903041aeAa",
"height": 52788836,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 20000000,
"timestamp": "2026-06-08T09:49:30.000000Z",
"burnt_fees": "0",
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0xae7864f8515a2759157a5655752599f009b0312e6469715c91bf45413bab6867",
"size": 611,
"miner": "0x1A2FE86a691e3056DEdFdF01b5D0F2cD0a012357",
"height": 52788835,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 20000000,
"timestamp": "2026-06-08T09:49:27.000000Z",
"burnt_fees": "0",
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0x2c9439196687af7c47c400fe7527a6cb4903ebd1445a47a5b810b710e4ab4ae5",
"size": 611,
"miner": "0x1105C97FFbD985600e6Dc8E06E477B99d0a9ff39",
"height": 52788834,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 20000000,
"timestamp": "2026-06-08T09:49:24.000000Z",
"burnt_fees": "0",
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0x8f21d1d85d23384b8c22a1329c9c6adc751041536e1faab0af6485ed91b3b6f9",
"size": 611,
"miner": "0xF3De3962dDD82d93F5F4852834009C7bf4fa4b34",
"height": 52788833,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 20000000,
"timestamp": "2026-06-08T09:49:21.000000Z",
"burnt_fees": "0",
"difficulty": "2",
"base_fee_per_gas": null
},
{
"hash": "0x9e9f4ed9d1086ad93f4dada3798eb15c3784cafc451803fa04fdc38d7525e813",
"size": 611,
"miner": "0xEAC6D9B96c73a637ba9d7a54dc4fAeCe0300fcB3",
"height": 52788832,
"gas_used": 0,
…