/v1/representatives
Online representatives ranked by voting weight, with stake share
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/nanoreps-api/v1/representatives" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nanoreps-api/v1/representatives", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nanoreps-api/v1/representatives");
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/nanoreps-api/v1/representatives",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Online Nano representatives ranked by delegated voting weight (in NANO). weight_pct is the share of total online voting stake; is_principal flags representatives above the 0.1%-of-online-stake threshold that earns a vote in consensus.",
"count": 30,
"source": "Nano RPC",
"online_count": 75,
"representatives": [
{
"account": "nano_37imps4zk1dfahkqweqa91xpysacb7scqxf3jqhktepeofcxqnpx531b3mnt",
"weight_pct": 27.7117,
"weight_nano": 24160266.75,
"is_principal": true
},
{
"account": "nano_1natrium1o3z5519ifou7xii8crpxpk8y65qmkih8e8bpsjri651oza8imdd",
"weight_pct": 9.1839,
"weight_nano": 8006935.87,
"is_principal": true
},
{
"account": "nano_1wcxcjbwnnsdpee3d9i365e8bcj1uuyoqg9he5zjpt3r57dnjqe3gdc184ck",
"weight_pct": 6.2384,
"weight_nano": 5438931.29,
"is_principal": true
},
{
"account": "nano_14j1gqkn8pekpsapqd8c3kciapphaysf6mgw1spsojzzr6qrtskd9dxtopo7",
"weight_pct": 3.874,
"weight_nano": 3377539.79,
"is_principal": true
},
{
"account": "nano_1anrzcuwe64rwxzcco8dkhpyxpi8kd7zsjc1oeimpc3ppca4mrjtwnqposrs",
"weight_pct": 3.4827,
"weight_nano": 3036378.47,
"is_principal": true
},
{
"account": "nano_3pczxuorp48td8645bs3m6c3xotxd3idskrenmi65rbrga5zmkemzhwkaznh",
"weight_pct": 3.2344,
"weight_nano": 2819892.35,
"is_principal": true
},
{
"account": "nano_3arg3asgtigae3xckabaaewkx3bzsh7nwz7jkmjos79ihyaxwphhm6qgjps4",
"weight_pct": 3.0929,
"weight_nano": 2696509.04,
"is_principal": true
},
{
"account": "nano_3jwrszth46rk1mu7rmb4rhm54us8yg1gw3ipodftqtikf5yqdyr7471nsg1k",
"weight_pct": 2.9323,
"weight_nano": 2556535.39,
"is_principal": true
},
{
"account": "nano_3msc38fyn67pgio16dj586pdrceahtn75qgnx7fy19wscixrc8dbb3abhbw6",
"weight_pct": 2.4261,
"weight_nano": 2115146.05,
"is_principal": true
},
{
"account": "nano_1wenanoqm7xbypou7x3nue1isaeddamjdnc3z99tekjbfezdbq8fmb659o7t",
"weight_pct": 2.2615,
"weight_nano": 1971661.04,
"is_principal": true
},
{
"account": "nano_1tk8h3yzkibbsti8upkfa69wqafz6mzfzgu8bu5edaay9k7hidqdunpr4tb6",
"weight_pct": 2.1402,
"weight_nano": 1865904.39,
…