Retrieve an error if the indexer is stale by more than a configurable number of blocks. Otherwise, it returns ok. Overview with RPC method guide.
cURL
curl --request POST \ --url https://devnet.helius-rpc.com/getIndexerHealth \ --header 'Content-Type: application/json' \ --data ' { "id": "test-account", "jsonrpc": "2.0", "method": "getIndexerHealth" } '
{ "id": "test-account", "jsonrpc": "2.0", "error": { "code": 123, "message": "<string>" }, "result": "ok" }
An ID to identify the request.
test-account
The version of the JSON-RPC protocol.
2.0
The name of the method to invoke.
getIndexerHealth
An ID to identify the response.
Show child attributes
ok if healthy
ok
Was this page helpful?
Suggestions
Contact support