Solana Tracker
Solana RPC/Methods

getHealth RPC Method

Description

Returns the current health of the node.

Parameters

None

Returns

Returns "Ok", if the node is healthy or JSON RPC error response, if the node is unhealthy. Please note that the specifics of the error response are UNSTABLE and may change in the future.

Code Examples

curl "https://rpc-mainnet.solanatracker.io/?api_key=YOUR_API_KEY_HERE" \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getHealth"}'

On this page