/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/educhain-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/educhain-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/educhain-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/educhain-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": "0xf30b2f0cd78173109fc2b1d0dc6a59ccd9f86b7bc404a3824d0b118c2e1c8092",
"size": 69204,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 66946187,
"gas_used": 5938817,
"tx_count": 7,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:50:01.000000Z",
"burnt_fees": "2406883753760000",
"difficulty": "1",
"base_fee_per_gas": "405280000"
},
{
"hash": "0xc0c90a8ad464472d6e01958a6853648de0d491d24364501a78e8ada7b88442be",
"size": 12974,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 66946186,
"gas_used": 1280782,
"tx_count": 3,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:50:01.000000Z",
"burnt_fees": "518587351018000",
"difficulty": "1",
"base_fee_per_gas": "404899000"
},
{
"hash": "0xef3f2d647b5ef5a96e4b0b190b27ea1ce643d83d8e8b21e725b886afff6fd58b",
"size": 12117,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 66946185,
"gas_used": 989797,
"tx_count": 2,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:50:01.000000Z",
"burnt_fees": "403036430227000",
"difficulty": "1",
"base_fee_per_gas": "407191000"
},
{
"hash": "0xea766a015040b93b80090beb89ea78b9d55d56d0966de4e226be37a90b3b4c9b",
"size": 12117,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 66946184,
"gas_used": 989810,
"tx_count": 2,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:50:00.000000Z",
"burnt_fees": "400833457600000",
"difficulty": "1",
"base_fee_per_gas": "404960000"
},
{
"hash": "0x33bf702ffc93044f1c913244f4ad664321a586251636138694a05988f4d9253f",
"size": 69204,
"miner": "0xA4b000000000000000000073657175656e636572",
"height": 66946183,
"gas_used": 5938825,
"tx_count": 7,
"gas_limit": 1125899906842624,
"timestamp": "2026-06-08T09:50:00.000000Z",
"burnt_fees": "2402676369075000",
"difficulty": "1",
"base_fee_per_gas": "404571000"
},
{
"hash": "0xa90d99d9cd8ca7f601ce2dec31c8c20e057c2a5d231ecc2e94235a879920b0
…