Shred Delivery and Sender are now live! Get earliest access to raw Solana data and optimized transaction sending. Learn about Shred Delivery | Learn about Sender
English
Returns the current health of the node. A healthy node is one that is within HEALTH_CHECK_SLOT_DISTANCE slots of the latest cluster confirmed slot.
HEALTH_CHECK_SLOT_DISTANCE
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getHealth" }'
{ "jsonrpc": "2.0", "id": "1", "result": "ok" }
Your Helius API key. You can get one for free in the dashboard.
The JSON-RPC protocol version.
2.0
"2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getHealth
"getHealth"
The node is healthy.
Identifier matching the request.
Health status indicator confirming the node is operational and synchronized with the Solana network.
"ok"
Was this page helpful?