getHealth - Solana

getHealth. Checks the health status of the node

getHealth - solana [Value: 5CU]
Checks the health status of the node, helping to ensure the reliability and performance of the blockchain applications
Use cases

Use cases

  • Check the current health status of Solana nodes
  • Monitor node health for maintenance purposes
  • Ensure node stability for reliable network performance
Constraints

Constraints

  • Health status might not reflect real-time conditions
  • Dependent on network connectivity for accurate results
  • Limited information on underlying health issues
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://solana.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getHealth"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": "ok",
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
A status message indicating the health of the node. Returns "Ok" if the node is healthy, or a JSON RPC error response if the node is unhealthy

Response params

object
idinteger
jsonrpcstring
resultstring
Note that the specifics of the error response are subject to change and may not be stable.