/v1/blocks
Most recent 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/numbers-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/numbers-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/numbers-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/numbers-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": "0xeebe6c86c11c1982c06826b42c8267e2e22583446d743697650039f004a296e3",
"size": 1808,
"miner": "0xe49a1220eE09Fbf0D25CA9e3BB8D5fD356Fc67FF",
"height": 1301770,
"gas_used": 105538,
"tx_count": 1,
"gas_limit": 20000000,
"timestamp": "2026-06-08T18:15:36.000000Z",
"burnt_fees": "79153500000000000",
"difficulty": "1",
"base_fee_per_gas": "750000000000"
},
{
"hash": "0x7104acc37c75ca213ea0b4d4d77c46b89658db5c75999e90c81c916804c87c65",
"size": 1808,
"miner": "0xe49a1220eE09Fbf0D25CA9e3BB8D5fD356Fc67FF",
"height": 1301769,
"gas_used": 105538,
"tx_count": 1,
"gas_limit": 20000000,
"timestamp": "2026-06-08T18:15:28.000000Z",
"burnt_fees": "79153500000000000",
"difficulty": "1",
"base_fee_per_gas": "750000000000"
},
{
"hash": "0xe99f6e5291226f5c06809d16789bdf66271000bd890a55190509d43a3fc3b4ef",
"size": 943,
"miner": "0xe49a1220eE09Fbf0D25CA9e3BB8D5fD356Fc67FF",
"height": 1301768,
"gas_used": 249612,
"tx_count": 1,
"gas_limit": 20000000,
"timestamp": "2026-06-08T18:04:14.000000Z",
"burnt_fees": "187209000000000000",
"difficulty": "1",
"base_fee_per_gas": "750000000000"
},
{
"hash": "0x4ab6586ce2d491a4b04f159bf0aa50e31ea6339bb460d4504f3261502b9a44c3",
"size": 943,
"miner": "0xe49a1220eE09Fbf0D25CA9e3BB8D5fD356Fc67FF",
"height": 1301767,
"gas_used": 249612,
"tx_count": 1,
"gas_limit": 20000000,
"timestamp": "2026-06-08T18:04:06.000000Z",
"burnt_fees": "187209000000000000",
"difficulty": "1",
"base_fee_per_gas": "750000000000"
},
{
"hash": "0xb093532c520d691d4226ae5a5807bfa1c4afc496d05ebf4b309f4b50f41a5e40",
"size": 943,
"miner": "0xe49a1220eE09Fbf0D25CA9e3BB8D5fD356Fc67FF",
"height": 1301766,
"gas_used": 249612,
"tx_count": 1,
"gas_limit": 20000000,
"timestamp": "2026-06-08T18:03:56.000000Z",
"burnt_fees": "187209000000000000",
"difficulty": "1",
"base_fee_per_gas": "750000000000"
},
{
"hash": "0x778e29bcc1643477475c58c6caf4f2c8b21fc44c7ad0bc176c535e83d7da0397",
"size": 9
…