Kit
Type aliases

GetHealthApi

GetHealthApi = object

Methods

getHealth()

getHealth(): "ok"

Returns the health status of the node.

A healthy node is one that is within n slots of the latest cluster-confirmed slot, where n is a node-configurable parameter with a default of 128.

Returns

"ok"

The string "ok" if the node is healthy.

Throws

if the node is unhealthy. The specifics of the error response are unstable and may change in the future.

See

https://solana.com/docs/rpc/http/gethealth

On this page