Returns the current health status of the node
"ok"
: Node is healthy and up-to-date"behind"
: Node is behind by some number of slots"unknown"
: Node health cannot be determined/health
provides the same informationHEALTH_CHECK_SLOT_DISTANCE
slots from the latest cluster slotgetVersion
for software versiongetSlot
for slot progressgetBlockHeight
for block heightCode | Message | Solution |
---|---|---|
-32601 | Method not found | Verify you’re connected to a Solana RPC node |
-32603 | Internal error | Node may be experiencing issues |
503 | Service Unavailable | Node is not ready to handle requests |