Fetch the current health status of the node.
HTTP transport instance
Additional call options
"ok" if the node is healthy, otherwise an error is thrown
"ok"
const status = await getHealth(transport);console.log(`Node health: ${status}`); Copy
const status = await getHealth(transport);console.log(`Node health: ${status}`);
1.0.0
Fetch the current health status of the node.