NEAR Protocol RPC: Node Status (1.0.0)

Retrieve detailed information about the current status of a NEAR Protocol node

Download OpenAPI description
Languages
Servers
Mainnet
https://rpc.mainnet.fastnear.com/
Testnet
https://rpc.testnet.fastnear.com/

Get node status

Request

Retrieves current status of the node including sync info, validator status and build information

Bodyapplication/jsonrequired
jsonrpcstringrequired
Value"2.0"
idstringrequired
Example: "fastnear"
methodstringrequired
Value"status"
paramsArray of arrays<= 0 itemsrequired

Empty array as this method takes no parameters

Example: []
curl -i -X POST \
  https://rpc.mainnet.fastnear.com/ \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": "fastnear",
    "method": "status",
    "params": []
  }'

Responses

Successful response

Bodyapplication/json
jsonrpcstringrequired
Value"2.0"
idstring or numberrequired
One of:
string
resultobject
errorobject
Response
application/json
{ "jsonrpc": "2.0", "id": "string", "result": { "chain_id": "string", "detailed_debug_status": {}, "genesis_hash": "string", "latest_protocol_version": 0, "node_key": "string", "node_public_key": "string", "protocol_version": 0, "rpc_addr": "string", "sync_info": {}, "uptime_sec": 0, "validator_account_id": "string", "validator_public_key": "string", "validators": [], "version": {} }, "error": { "code": 0, "message": "string", "data": {} } }