/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/bittensor-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bittensor-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bittensor-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/bittensor-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": "0xbe779ae0a977f32fd2fec924c1a8cb3192a9630aa2fd43d5c0b0de9bfbe69c6d",
"size": 2417,
"miner": "0x96E59a08b931d5C751fFB130ff2c2b3d9Eb8afB0",
"height": 8363723,
"gas_used": 214651,
"tx_count": 3,
"gas_limit": 75000000,
"timestamp": "2026-06-08T18:25:12.000000Z",
"burnt_fees": "2146510000000000",
"difficulty": "0",
"base_fee_per_gas": "10000000000"
},
{
"hash": "0x41f9a7326cec1867d6a29e6880c67dd4d0f6cedd97370415b1d4fe0bc6b427ca",
"size": 1741,
"miner": "0xD665619ceF248e2aA2491654535fD60B69daD142",
"height": 8363722,
"gas_used": 132721,
"tx_count": 3,
"gas_limit": 75000000,
"timestamp": "2026-06-08T18:25:00.000000Z",
"burnt_fees": "1327210000000000",
"difficulty": "0",
"base_fee_per_gas": "10000000000"
},
{
"hash": "0x9bca89d109f6414fc55fb752e2a462b023d019de1efee8b2a649340085418033",
"size": 1591,
"miner": "0x1961dF4706Dd7ad10693CfcC9a8F9d07047c3357",
"height": 8363721,
"gas_used": 95692,
"tx_count": 2,
"gas_limit": 75000000,
"timestamp": "2026-06-08T18:24:48.000000Z",
"burnt_fees": "956920000000000",
"difficulty": "0",
"base_fee_per_gas": "10000000000"
},
{
"hash": "0x45296da04494f4c042fa29cd4cc5d444fb3b39eaacf411718b51637d1fa6d1ff",
"size": 1741,
"miner": "0xE2e6Ae0133A0327E58a12265333B3F50c7c2c1a3",
"height": 8363720,
"gas_used": 132721,
"tx_count": 3,
"gas_limit": 75000000,
"timestamp": "2026-06-08T18:24:36.000000Z",
"burnt_fees": "1327210000000000",
"difficulty": "0",
"base_fee_per_gas": "10000000000"
},
{
"hash": "0x25521dfe7bd4a6153f9e00992954c926cf31a68d353d9c40214c7bad8739aeaf",
"size": 1884,
"miner": "0xb64686dd2dFBaC9d0F51c3124a1488e615407305",
"height": 8363719,
"gas_used": 178319,
"tx_count": 4,
"gas_limit": 75000000,
"timestamp": "2026-06-08T18:24:24.000000Z",
"burnt_fees": "1783190000000000",
"difficulty": "0",
"base_fee_per_gas": "10000000000"
},
{
"hash": "0xbdfa250383ea5263e7356bc3be3c5d4816d6e9e01156186213b26a53f30b06a6",
"size": 1741,
…