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. This method is useful for monitoring node synchronization status and determining if the node is keeping up with the network.

Authorizations
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier that will be returned in the response

Example: 1
stringOptional
or
numberOptional
methodstring · enumRequired

The RPC method name

Example: getHealthPossible values:
Responses
chevron-right
200

Successful Response

application/json

RPC response containing node health status

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier matching the original request

Example: 1
stringOptional
or
numberOptional
resultstring · enumOptional

Health status of the node. Returns "ok" if the node is healthy (within 25 slots of the latest cluster confirmed slot). If the node is unhealthy, an error will be returned instead.

Example: okPossible values:
post
/

Last updated