/v1/network
Live gas price, epoch length, kickout thresholds
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/nearvalidators-api/v1/network" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nearvalidators-api/v1/network", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nearvalidators-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/nearvalidators-api/v1/network",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "NEAR's live network economics and protocol parameters — the current gas price (in yoctoNEAR), the epoch length in blocks, the protocol version and the block/chunk producer kickout thresholds (the uptime % below which a validator is removed). Combine with /v1/validators to judge validator health.",
"source": "NEAR RPC",
"chain_id": "mainnet",
"gas_limit": 1000000000000000,
"epoch_length": 43200,
"gas_price_yocto": "100000000",
"protocol_version": 84,
"max_gas_price_yocto": "10000000000000000000000",
"block_producer_kickout_threshold": 80,
"chunk_producer_kickout_threshold": 80
},
"meta": {
"timestamp": "2026-06-14T17:03:52.006Z",
"request_id": "41910221-7ed6-436f-a280-871fcf4b5caf"
},
"status": "ok",
"message": "Network retrieved successfully",
"success": true
}