/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/electroneum-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/electroneum-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/electroneum-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/electroneum-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": "0x75863aff6ecd92062514511e9e31386bf05c7f75fdb59bac233dd6d90512c618",
"size": 4679,
"miner": "0x915956a26Fd7EE449D37ec93bBCfC5cAD5ac8E27",
"height": 14160951,
"reward": "609000000000000",
"gas_used": 609000,
"tx_count": 29,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:14.000000Z",
"burnt_fees": "4263000",
"difficulty": "1",
"base_fee_per_gas": "7"
},
{
"hash": "0xe5e09f25efc5f1de312e00a122df97d15ffcecc38d8b08cfe1d858faf019fbc1",
"size": 3950,
"miner": "0x83FF6272D1de08Ad8D492167412f1f329bd805F3",
"height": 14160950,
"reward": "483000000000000",
"gas_used": 483000,
"tx_count": 23,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:09.000000Z",
"burnt_fees": "3381000",
"difficulty": "1",
"base_fee_per_gas": "7"
},
{
"hash": "0xc969f6ff4ab9b5c25fef517205f02fe02dba2e2ed1ba3b73bbaeb5aaee7e8001",
"size": 3347,
"miner": "0x7779aB2Cb675D7A31714e86d01bD7a56a03f41d8",
"height": 14160949,
"reward": "378000000000000",
"gas_used": 378000,
"tx_count": 18,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:49:04.000000Z",
"burnt_fees": "2646000",
"difficulty": "1",
"base_fee_per_gas": "7"
},
{
"hash": "0x785222e6b86a92f8eeba13188c9249264565add3c82abe95c133334d09e3578f",
"size": 3469,
"miner": "0x763976728bC214A5c389d3928e03661Bd6E7A649",
"height": 14160948,
"reward": "399000000000000",
"gas_used": 399000,
"tx_count": 19,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:48:59.000000Z",
"burnt_fees": "2793000",
"difficulty": "1",
"base_fee_per_gas": "7"
},
{
"hash": "0x0c26b40090363e8065f2c89ab4d38056e3d33e0757ca726fc23b05cae89dc645",
"size": 4804,
"miner": "0x57752BEB85F0b8811023f048039591EF9eb78929",
"height": 14160947,
"reward": "630000000000000",
"gas_used": 630000,
"tx_count": 30,
"gas_limit": 30000000,
"timestamp": "2026-06-08T09:48:54.000000Z",
"burnt_fees": "4410000",
"difficulty": "1",
"base_fee_per_gas": "7"
},
…