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" } '
{ "error": { "code": 123, "message": "<string>" }, "id": "test-account", "jsonrpc": "2.0", "result": "ok" }
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.
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?