health namespace
health_nodeStatus
Check health status of the node
- Request
- Response
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "health_nodeStatus",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
result: object
errors: array of stringhealthy: booleanisSyncing: booleanmessages: array of string