Zum Inhalt springen
GET /v1/network

Chain state — best block, difficulty, sync status, node version

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/ravencoin-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "chain": "ravencoin",
        "model": "UTXO (asset chain)",
        "source": "Ravencoin (Blockbook)",
        "in_sync": true,
        "consensus": "KAW-POW (ASIC-resistant PoW)",
        "best_block": 4405363,
        "difficulty": 25510.37817996068,
        "native_token": "RVN",
        "node_version": "4060100",
        "backend_blocks": 4405371,
        "node_subversion": "/Ravencoin:4.6.1/"
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:17.946Z",
        "request_id": "d000ebf6-885d-478e-a1bf-f3dd71f8541f"
    },
    "status": "ok",
    "message": "Network state retrieved successfully",
    "success": true
}