getIndexerHealth

Returns an error if the indexer is stale by more than a configurable number of blocks. Otherwise, it returns ok

post
Body
idstring · enumRequired

An ID to identify the request.

Possible values:
jsonrpcstring · enumRequired

The version of the JSON-RPC protocol.

Possible values:
methodstring · enumRequired

The name of the method to invoke.

Possible values:
Responses
200Success
application/json
Responsestring · enum

ok if healthy

Default: okPossible values:
post
POST / HTTP/1.1
Host: mainnet.helius-rpc.com
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "id": "test-account",
  "jsonrpc": "2.0",
  "method": "getIndexerHealth"
}
ok

Last updated