NEAR Protocol RPC: Node Health (1.0.0)

Check the health status of a NEAR Protocol node

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

Check node health

Request

Performs a health check on the node to determine if it's operating correctly

Bodyapplication/jsonrequired
jsonrpcstringrequired
Value"2.0"
idstringrequired
Example: "fastnear"
methodstringrequired
Value"health"
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": "health",
    "params": []
  }'

Responses

Successful response

Bodyapplication/json
jsonrpcstringrequired
Value"2.0"
idstring or numberrequired
One of:
string
resultobject

Health status of the node

errorobject
Response
application/json
{ "jsonrpc": "2.0", "id": "string", "result": {}, "error": { "code": 0, "message": "string", "data": {} } }