Skip to main content

status RPC Method

Returns the current list of validators and the general status of a given node (sync status, nearcore node version, protocol version, etc).

Updated on
Oct 4, 2023

status RPC Method

Parameters

This method does not accept any parameters

Returns

chain_id
The id of the chain
latest_protocol_version
he latest protocol version
node_key
The node key used for synchronisation
protocol_version
The protocol version
rpc_addr
The RPC address
sync_info
The information about the block synchronisation
earliest_block_hash
The hash of the earliest block
earliest_block_height
The height of the earliest block
earliest_block_time
The earliest block time
latest_block_hash
The hash of the latest block
latest_block_height
The height of the latest block
latest_block_time
The latest block time
latest_state_root
The latest state of the root of block
syncing
It states whether blocks are synced or not
uptime_sec
The uptime in seconds
validator_account_id
The account id of the validator
validators
The information about the validators
account_id
The identifier for the account
is_slashed
It states whether the validator is slashed or not
version
The information about the version i.e 57
build
The build number of the node
rustc_version
The rustc version number
version
The version number of the node
Request
1
curl https://docs-demo.near-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc": "2.0", "method": "status", "params": [],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free