POSTvalidators
https://near-mainnet.nodit.io/Returns the validators of the given epoch with their stakes and block and chunk production stats, along with next-epoch validators, staking proposals, and validators kicked out in the previous epoch.
Send params as an object in one of three forms: { "latest": null } for the latest epoch, { "epoch_id": "<epoch ID>" } for a specific epoch, or { "block_id": <block height or hash> } for the epoch containing that block. An epoch ID that cannot be found returns UNKNOWN_EPOCH, and missing validator information for the epoch on the node returns VALIDATOR_INFO_UNAVAILABLE. The Mainnet response lists hundreds of validators and reaches hundreds of KB; the example keeps one item per list.
Request ID. Any string; it is returned unchanged in the response.
Set to null to query the latest epoch.
Epoch ID to query (base58). The ID of epoch T is the hash of the last block of epoch T-2.
Specifies the block to query by block height (integer) or block hash (base58 string).
Cannot be used together with finality.
JSON-RPC version
Request ID
Validators of the current epoch.
NEAR account ID. A human-readable name (e.g. wrap.near) or a 64-character hex implicit account ID.
Example: wrap.near
Base58-encoded public key prefixed with ed25519: or secp256k1:.
Example: ed25519:168vdqFUxij2yvsxYgAGoykJMX7tgrPKVCH484A8nHP
Staked amount (yoctoNEAR, decimal string)
true if the validator has been slashed.
IDs of the shards assigned to the validator as a chunk producer.
IDs of the shards assigned to the validator as a chunk validator.
Number of blocks produced in this epoch.
Number of blocks expected to be produced in this epoch.
Number of chunks produced in this epoch.
Number of chunks expected to be produced in this epoch.
Chunks produced per shard, in the order of shards.
Chunks expected per shard, in the order of shards.
Number of chunk endorsements submitted in this epoch.
Number of chunk endorsements expected in this epoch.
Chunk endorsements submitted per shard, in the order of shards_endorsed.
Chunk endorsements expected per shard, in the order of shards_endorsed.
Validators of the next epoch.
NEAR account ID. A human-readable name (e.g. wrap.near) or a 64-character hex implicit account ID.
Example: wrap.near
Base58-encoded public key prefixed with ed25519: or secp256k1:.
Example: ed25519:168vdqFUxij2yvsxYgAGoykJMX7tgrPKVCH484A8nHP
Staked amount (yoctoNEAR, decimal string)
IDs of the assigned shards.
Staking proposals submitted in the current epoch.
NEAR account ID. A human-readable name (e.g. wrap.near) or a 64-character hex implicit account ID.
Example: wrap.near
Base58-encoded public key prefixed with ed25519: or secp256k1:.
Example: ed25519:168vdqFUxij2yvsxYgAGoykJMX7tgrPKVCH484A8nHP
Staked amount (yoctoNEAR, decimal string)
Structure version. Currently V1.
Fishermen of the current epoch. An empty array on Mainnet.
NEAR account ID. A human-readable name (e.g. wrap.near) or a 64-character hex implicit account ID.
Example: wrap.near
Base58-encoded public key prefixed with ed25519: or secp256k1:.
Example: ed25519:168vdqFUxij2yvsxYgAGoykJMX7tgrPKVCH484A8nHP
Staked amount (yoctoNEAR, decimal string)
Structure version. Currently V1.
Fishermen of the next epoch. An empty array on Mainnet.
NEAR account ID. A human-readable name (e.g. wrap.near) or a 64-character hex implicit account ID.
Example: wrap.near
Base58-encoded public key prefixed with ed25519: or secp256k1:.
Example: ed25519:168vdqFUxij2yvsxYgAGoykJMX7tgrPKVCH484A8nHP
Staked amount (yoctoNEAR, decimal string)
Structure version. Currently V1.
Accounts removed from the validator set in the previous epoch.
NEAR account ID. A human-readable name (e.g. wrap.near) or a 64-character hex implicit account ID.
Example: wrap.near
The reason for removal. Too few blocks, chunks, or chunk endorsements (NotEnoughBlocks, NotEnoughChunks, NotEnoughChunkEndorsements, with produced and expected), insufficient stake (NotEnoughStake), and an outdated protocol version (ProtocolVersionTooOld) appear as objects; unstaking by the validator (Unstaked) and not getting a seat (DidNotGetASeat) appear as strings.
Block height at which the epoch started.
Epoch number counted from genesis.
Per-validator rewards paid at the start of the previous epoch. Keys are account IDs and values are amounts (yoctoNEAR, decimal string).
Error class. REQUEST_VALIDATION_ERROR (invalid request), HANDLER_ERROR (processing error), INTERNAL_ERROR (node internal error)
The specific cause of the error.
Name of the error cause (e.g. UNKNOWN_BLOCK, UNKNOWN_ACCOUNT, PARSE_ERROR)
Additional information about the error (block hash, height, account ID, etc.)
Legacy JSON-RPC error code (e.g. -32000 server error, -32700 parse error, -32601 method not found)
Legacy error message
Legacy error details