Skip to main content

validators RPC Method

Queries active validators on the network, which returns details and the validation state on the blockchain.

Updated on
Oct 4, 2023

validators RPC Method

Parameters

block hash
string
The hash of the block
block number
int
The block number
null
Using [null] will query for the latest block

Returns

current_proposals
The information about the proposals
account_id
The identifier for the account
public_key
The public key of the signer
stake
The amount of tokens staked on the network
validator_stake_struct_version
The validator stake struct version
current_validators
The information about current current_validator
account_id
The identifier for the account
public_key
The public key of the signer
is_slashed
It states whether the validator is slashed or not
stake
The amount of tokens staked on the network
shards
The data grouped together
num_expected_blocks
The number of expected blocks
num_expected_chunks
The number of expected chunks
num_produced_blocks
The number of blocks produced
num_produced_chunks
The number of chunks produced
next_validators
The information about current next_validator
account_id
The identifier for the account
public_key
The public key of the signer
stake
The amount of tokens staked on the network
shards
The data grouped together
current_fishermen
The information about the current fishermen, the network participants that open disputes
account_id
The identifier for the account
public_key
The public key of the signer
stake
The amount of tokens staked on the network
next_fishermen
The information about the next fishermen, the network participants that open disputes
account_id
The identifier for the account
public_key
The public key of the signer
stake
The amount of tokens staked on the network
prev_epoch_kickout
The epoch number at which the validator gets kicked out
account_id
The identifier for the account
reason
The reason
NotEnoughChunks
The data about the expected and produced chunks
expected
The expected chunks
produced
The produced chunks
epoch_start_height
The height at which the epoch starts
epoch_height
The epoch height
Request
1
curl https://docs-demo.near-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method": "validators", "params": [null],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free