Skip to content
GET /v1/network

Chain state — chain id, epoch, block number, finalized epoch, PoS interest

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/conflux-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "chain": "conflux",
        "source": "Conflux",
        "chain_id": 1029,
        "consensus": "Tree-Graph DAG (GHAST)",
        "network_id": 1029,
        "block_number": 362695783,
        "epoch_number": 149585224,
        "native_token": "CFX",
        "pending_tx_count": 6,
        "latest_finalized_epoch": 149584980,
        "latest_checkpoint_epoch": 149520000,
        "pos_interest_rate_per_block": 2057282496000
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:22.031Z",
        "request_id": "ae4d1733-bf5a-41e0-bac4-a8d209892f4d"
    },
    "status": "ok",
    "message": "Network state retrieved successfully",
    "success": true
}