getHealthRaw method

Returns the current health of the node.

If one or more --known-validator arguments are provided to solana-validator, "ok" is returned when the node has within HEALTH_CHECK_SLOT_DISTANCE slots of the highest known validator, otherwise an error is returned. "ok" is always returned if no known validators are provided.

Implementation

Future<JsonRpcSuccessResponse<HealthStatus>> getHealthRaw() =>
    send(GetHealth());