Ir al contenido
GET /v1/network

Chain state — tip block, epoch, block time, difficulty, hashrate

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/nervos-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/nervos-api/v1/network" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nervos-api/v1/network", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nervos-api/v1/network");
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/nervos-api/v1/network",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "chain": "nervos-ckb",
        "model": "Cell model (generalised UTXO)",
        "source": "Nervos CKB",
        "consensus": "Eaglesong PoW (NC-MAX)",
        "hash_rate": 81841176830210.33,
        "epoch_index": 298,
        "epoch_length": 1534,
        "epoch_number": 14356,
        "native_token": "CKB",
        "tip_block_number": 19562575,
        "average_block_time_ms": 7361.96,
        "estimated_epoch_time_ms": 14364832.725474,
        "transactions_last_24hrs": 16503,
        "transactions_per_minute": 12,
        "current_epoch_difficulty": "766385146820022311"
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:24.385Z",
        "request_id": "e25c4371-8962-4ad4-9203-f3deb4aa27e5"
    },
    "status": "ok",
    "message": "Network state retrieved successfully",
    "success": true
}