• Fetch the current health status of the node.

    Parameters

    Returns Promise<string>

    "ok" if the node is healthy, otherwise an error is thrown

    const status = await getHealth(transport);
    console.log(`Node health: ${status}`);

    1.0.0