/v1/blocks
Latest blocks
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/ink-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ink-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ink-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/ink-api/v1/blocks",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"count": 50,
"blocks": [
{
"hash": "0xf1283fa91b1117cdea501ae5b7fc711e389909bb2b91f4b7ed1b0d3b3932573a",
"size": 4177,
"miner": "0x4200000000000000000000000000000000000011",
"height": 47413893,
"reward": "18286453815",
"gas_used": 519115,
"tx_count": 5,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:51:44.000000Z",
"burnt_fees": "145352200",
"difficulty": "0",
"base_fee_per_gas": "280"
},
{
"hash": "0x3d8a0dbcda2744fbeee4f216d6dddba7fc2c2befe78229091e755cde29dabd1a",
"size": 4177,
"miner": "0x4200000000000000000000000000000000000011",
"height": 47413892,
"reward": "18286498031",
"gas_used": 519115,
"tx_count": 5,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:51:43.000000Z",
"burnt_fees": "145352200",
"difficulty": "0",
"base_fee_per_gas": "280"
},
{
"hash": "0xc7c401ab19d79acd74c7bf64a1bfab596a6eb99df29880416516066e83a037c7",
"size": 4177,
"miner": "0x4200000000000000000000000000000000000011",
"height": 47413891,
"reward": "18286496017",
"gas_used": 519115,
"tx_count": 5,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:51:42.000000Z",
"burnt_fees": "145871315",
"difficulty": "0",
"base_fee_per_gas": "281"
},
{
"hash": "0x989032c1948bd1cfed8bfbbf65afd58d82da442a9864a550899a22b42bb59036",
"size": 4177,
"miner": "0x4200000000000000000000000000000000000011",
"height": 47413890,
"reward": "18286494003",
"gas_used": 519115,
"tx_count": 5,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:51:41.000000Z",
"burnt_fees": "146390430",
"difficulty": "0",
"base_fee_per_gas": "282"
},
{
"hash": "0x3f8f36bc8c986492bae9a714bc743e08a9ae388f451af379fc8a510f268800ec",
"size": 4299,
"miner": "0x4200000000000000000000000000000000000011",
"height": 47413889,
"reward": "18375329774",
"gas_used": 535242,
"tx_count": 5,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:51:40.000000Z",
"burnt_fees": "150938244",
"difficulty": "0",
"base_fee_per_gas": "282"
},
…