getHealth

getHealth RPC Method

post

Returns the current health of the node. A healthy node is one that is within 25 slots of the latest cluster confirmed slot.

Authorizations
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idstringRequired

Request identifier

Example: 1
methodstring · enumRequired

The method name

Possible values:
Responses
200
Successful response
application/json
post
POST / HTTP/1.1
Host: public.rpc.solanavibestation.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getHealth"
}
200

Successful response

{
  "jsonrpc": "2.0",
  "result": "ok",
  "id": 1
}

Last updated