status
The
status
method returns the current list of validators and the general status of a node.The Infura
status
method implementation returns null
for certain return parameters to minimize the risk of network attacks.None
result
: object - Validator and node status information:chain_id:
- The chain ID.latest_protocol_version
- The latest protocol version.node_key
- Node key used for synchronization. The Infura endpoint displaysnull
.node_public_key
- Node's public key. The Infura endpoint displaysnull
.protocol_version
- Protocol version currently used.rpc_addr
- The RPC address. The Infura endpoint displaysnull
.sync_info
- Block synchronization information, containing the following parameters:earliest_block_hash
- Hash of the earliest block.earliest_block_height
- Height of the earliest block.earliest_block_time
- Earliest block time.epoch_id
- ID of the epoch.epoch_start_height
- Block height at which the current epoch began.latest_block_hash
- Hash of the latest block.latest_block_height
- Height of the latest block.latest_block_time
- Latest block time.latest_state_root
- Latest state of the root of block.syncing
- Whether or not the client is still syncing. A value offalse
means the client is fully synced;true
means the client is syncing.
uptime_sec
- Uptime in seconds.validator_account_id
- Account ID of the validator. The Infura endpoint displaysnull
.validator_public_key
- Validator's public key. The Infura endpoint displaysnull
.validators
- Object containing the information about the validators. The Infura endpoint displaysnull
.version
- Build and version number of the node. The Infura endpoint displaysnull
.
Request
Result
curl --data '{"jsonrpc": "2.0", "id": 1, "method": "status", "params": []}' \
"https://near-mainnet.infura.io/v3/<API-KEY>"
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"chain_id": "mainnet",
"latest_protocol_version": 59,
"node_key": null,
"node_public_key": null,
"protocol_version": 59,
"rpc_addr": null,
"sync_info": {
"earliest_block_hash": "EPnLgE7iEq9s7yTkos96M3cWymH5avBAPm3qx3NXqR8H",
"earliest_block_height": 9820210,
"earliest_block_time": "2020-07-21T16:55:51.591948Z",
"epoch_id": "Ese4v3X7KdqCNvkCAzbW9Apdshn9ehiTivMG5RRVBBby",
"epoch_start_height": 89740296,
"latest_block_hash": "E2PiUPjsicoWtrEFUxWdXFWgaP75EbaHVdbyU7MriGRd",
"latest_block_height": 89752336,
"latest_block_time": "2023-04-17T00:37:19.609325542Z",
"latest_state_root": "CKpeYz8KCPBjdndbXT8PauVbE1c7Z37A5XBGUeByNXHZ",
"syncing": false
},
"uptime_sec": 1525234,
"validator_account_id": null,
"validator_public_key": null,
"validators": [],
"version": {}
}
}
Last modified 1mo ago