Loading the API documentation
No notifications.
Language
English
No other language is available yet.
Loading the API documentation
/v1/staking/validatorsEvery registered validator of the Zethar chain
Every validator registered in StakeHub (STAKING_STAKE_HUB, default 0x0000000000000000000000000000000000002002: getValidators(0, 100), getValidatorElectionInfo(0, 100) and per operator the consensus address, basic info, description and commission), with its status against the current set of the validator set contract (STAKING_VALIDATOR_SET, default 0x...1000, getValidators()). Read-only eth_calls in batched requests of at most 100 calls over the chain RPC (CHAIN_RPC_URL); at most 100 validators. The server caches the list for 15 seconds and sends one read for concurrent requests. Order: producing, then waiting, then jailed, each by stake (largest first). Without a configured RPC the list is empty. The retired Go API answered the old shape (address and status active only), so the newer fields stay optional for clients.
No parameters.
| Status | Meaning | Body |
|---|---|---|
| 200 | OK | ValidatorList |
| 503 | The chain RPC failed or did not answer (code | Error |
curl -s 'https://exchange.zethareum.com/v1/staking/validators'