Skip to main content

getHealth RPC Method

Returns the current health of the node.

Updated on
Sep 20, 2024

getHealth RPC Method

Parameters

This method does not accept any parameters

Returns

result
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
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","id":1, "method":"getHealth"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free