/v1/validators
Active validators ranked by voting power
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/aptosvalidators-api/v1/validators" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aptosvalidators-api/v1/validators", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aptosvalidators-api/v1/validators");
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/aptosvalidators-api/v1/validators",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Active Aptos validators ranked by voting power (proportional to staked APT). voting_power_pct is the validator's share of total network stake. Use an address with /v1/pool for the pool's stake breakdown.",
"count": 25,
"source": "Aptos fullnode",
"validators": [
{
"address": "0xf0d49cff005d03312934ce027e30f4a84143d5af53623b30036e7dac1510c218",
"validator_index": 52,
"voting_power_apt": 25902742.62137633,
"voting_power_pct": 3.3897,
"voting_power_octas": "2590274262137633"
},
{
"address": "0x2738d91e160d9be37cd9689177546b567e28a3644b702388fd2c2be9c97682de",
"validator_index": 84,
"voting_power_apt": 25467544.87835734,
"voting_power_pct": 3.3328,
"voting_power_octas": "2546754487835734"
},
{
"address": "0x8dd8b23892be142c2ec4b7e1427584c97403e570cde4e6d9a81d2b220c884af5",
"validator_index": 45,
"voting_power_apt": 25467479.89569687,
"voting_power_pct": 3.3328,
"voting_power_octas": "2546747989569687"
},
{
"address": "0xcfb4330556f9e4d3283a944d4c1763113cee40143182e8d874437368bd1b33ba",
"validator_index": 50,
"voting_power_apt": 21958249.28992054,
"voting_power_pct": 2.8736,
"voting_power_octas": "2195824928992054"
},
{
"address": "0xb3b1719eece4c1bbb074115df8886a133ea863127c77c9f0a5ed5161a4a4393",
"validator_index": 79,
"voting_power_apt": 20550551.64835198,
"voting_power_pct": 2.6893,
"voting_power_octas": "2055055164835198"
},
{
"address": "0x9bfd93ebaa1efd65515642942a607eeca53a0188c04c21ced646d2f0b9f551e8",
"validator_index": 21,
"voting_power_apt": 20428285.88334988,
"voting_power_pct": 2.6733,
"voting_power_octas": "2042828588334988"
},
{
"address": "0x30e2f4236a88d2201b9bc27365d8516ab9cb3b53d82cee8c76369a3a01cef6ec",
"validator_index": 48,
"voting_power_apt": 18877634.495223,
"voting_power_pct": 2.4704,
"voting_power_octas": "1887763449522300"
},
{
"address": "0x346361873c235e1a300fd67a2e8b7bd1ea3744001b2e0d1942317c4c8521f5dd",
"validator_index": 31,
"voting_power_apt": 16357469.32957666,
"voting_power_pct": 2.1406,
"voting_power_octas": "1635746932957666"
},
{
"address": "0xda418307cff595ced2af5eb471ec11b1ad6a4907ef57d6e2eeb253bdd5bd9d0d",
…