Zum Inhalt springen
GET /v1/network

Chain state — block height, difficulty, connections, protocol version

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "chain": "dash",
        "blocks": 2486316,
        "source": "Dash (Insight)",
        "network": "livenet",
        "features": "InstantSend, ChainLocks, on-chain treasury",
        "consensus": "X11 PoW + masternode tier",
        "relay_fee": 1.0e-5,
        "difficulty": 82052285.06427564,
        "connections": 11,
        "native_token": "DASH",
        "node_version": 220000,
        "protocol_version": 70235
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:19.290Z",
        "request_id": "529154a5-7fc4-4e86-8d1a-b502c1213925"
    },
    "status": "ok",
    "message": "Network state retrieved successfully",
    "success": true
}