Returns the current list of validators and the general status of a given node (sync status, nearcore node version, protocol version, etc).
Supported on NEAR (mainnet) only.
Parameters
none
Returns
chain_id
- The id of the chainlatest_protocol_version
- he latest protocol versionnode_key
- The node key used for synchronisationprotocol_version
- The protocol versionrpc_addr
- The RPC addresssync_info
- The information about the block synchronisationearliest_block_hash
- The hash of the earliest blockearliest_block_height
- The height of the earliest blockearliest_block_time
- The earliest block timelatest_block_hash
- The hash of the latest blocklatest_block_height
- The height of the latest blocklatest_block_time
- The latest block timelatest_state_root
- The latest state of the root of blocksyncing
- It states whether blocks are synced or not
uptime_sec
- The uptime in secondsvalidator_account_id
- The account id of the validatorvalidators
- The information about the validatorsaccount_id
- The identifier for the accountis_slashed
- It states whether the validator is slashed or not
version
- The information about the version i.e 57build
- The build number of the noderustc_version
- The rustc version numberversion
- The version number of the node
API Endpoint
The format of a Near API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/near/
Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/near/
Example
Request
curl https://open-platform.nodereal.io/{{apiKey}}/near/ \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc": "2.0", "method": "status", "params": [],"id":1}'
Result