Ir al contenido
GET /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.

Encabezados personalizados (opcional)
api.oanor.com/bitfinity-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/bitfinity-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitfinity-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitfinity-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/bitfinity-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": "0x4b5b37ba559d73c57ce3acf592a24dcb49e8b210e219f295c69215a854219aa8",
                "size": 513,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 11677572,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 75000000,
                "timestamp": "2026-06-08T09:49:26.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x3116b9972b84e86ba9e81318f8e372b781c3b7fe7f3bd6c8bda0aaf63020cea2",
                "size": 513,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 11677571,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 75000000,
                "timestamp": "2026-06-08T09:49:14.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xefafded03538185d708fe38f00cfe656a3c89b872db1e8a51e4042f23af27c8b",
                "size": 513,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 11677570,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 75000000,
                "timestamp": "2026-06-08T09:49:01.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x79c8ca56fa1fb9201b3e9051c17547c07ea6711c6cee97d511bcb1302d2affef",
                "size": 513,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 11677569,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 75000000,
                "timestamp": "2026-06-08T09:48:49.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0xe38912cde20f0ae15d9876a2e9adf332990f4616210275dfad0a9a1d0b9489a6",
                "size": 513,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 11677568,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 75000000,
                "timestamp": "2026-06-08T09:48:37.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "7"
            },
            {
                "hash": "0x518982a67cd9093a47e311cae1ee5c44097af9b61922f85624e1ce8bd9763a98",
                "size": 513,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 11677567,
                "gas_used": 0,
                "t
…