/v1/blocks
Most recent blocks
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/derive-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/derive-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/derive-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/derive-api/v1/blocks",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 50,
"blocks": [
{
"hash": "0xa75ab7b7744dd369f29c978e9cfc57f81daec1d877a5e2907b9439cab07036b3",
"size": 907,
"miner": "0x4200000000000000000000000000000000000011",
"height": 40460774,
"gas_used": 57382,
"tx_count": 1,
"gas_limit": 500000000,
"timestamp": "2026-06-08T18:26:03.000000Z",
"burnt_fees": "14345500",
"difficulty": "0",
"base_fee_per_gas": "250"
},
{
"hash": "0x318a7a4922a93e3ec74c33ce112498ad4629f1d56a84ceacd3fc0c475326821b",
"size": 907,
"miner": "0x4200000000000000000000000000000000000011",
"height": 40460773,
"gas_used": 46194,
"tx_count": 1,
"gas_limit": 500000000,
"timestamp": "2026-06-08T18:26:01.000000Z",
"burnt_fees": "11548500",
"difficulty": "0",
"base_fee_per_gas": "250"
},
{
"hash": "0x63fd326f4e33ddd665d46dac5b0712f932196e06d34b0148e95d25ca4bc28d68",
"size": 907,
"miner": "0x4200000000000000000000000000000000000011",
"height": 40460772,
"gas_used": 46194,
"tx_count": 1,
"gas_limit": 500000000,
"timestamp": "2026-06-08T18:25:59.000000Z",
"burnt_fees": "11548500",
"difficulty": "0",
"base_fee_per_gas": "250"
},
{
"hash": "0x8810bf9337c4ed163daba367c3476d8d20d270702e8f2f2c61c5d5add2e4dd2e",
"size": 1449,
"miner": "0x4200000000000000000000000000000000000011",
"height": 40460771,
"gas_used": 799674,
"tx_count": 2,
"gas_limit": 500000000,
"timestamp": "2026-06-08T18:25:57.000000Z",
"burnt_fees": "199918500",
"difficulty": "0",
"base_fee_per_gas": "250"
},
{
"hash": "0x42aeef5e2c38794884a48a288ba884918d9b43f4be7181e1387d0325e1bc095b",
"size": 907,
"miner": "0x4200000000000000000000000000000000000011",
"height": 40460770,
"gas_used": 46194,
"tx_count": 1,
"gas_limit": 500000000,
"timestamp": "2026-06-08T18:25:55.000000Z",
"burnt_fees": "11548500",
"difficulty": "0",
"base_fee_per_gas": "250"
},
{
"hash": "0x3c717954866fe7227166c61487727074cdd2ee4808a436ae1af4e636646b2c66",
"size": 907,
"miner": "0x4200000000000000000000000000000000000011",
…