POST
/
cURL
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "getIndexerHealth"
}'
"ok"

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
default:1
required

An ID to identify the request.

method
enum<string>
default:getIndexerHealth
required

The name of the method to invoke for checking Solana compression indexer health status.

Available options:
getIndexerHealth

Response

The Solana compression indexer is healthy and synchronized with the network

Returns "ok" when the Solana compression indexer is healthy and functioning properly

Available options:
ok