LaserStream and Sender are now live! Experience ultra-fast data streaming and optimized transaction sending. Learn about LaserStream | Learn about Sender
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 node is healthy.
The response is of type object.
object
Was this page helpful?