get Health
Performs a general node health check.
Returns the health status of the RPC server, including ledger sync information. Use this to verify server connectivity before making other requests.
Example
val health = server.getHealth()
if (health.status == "healthy") {
println("Latest ledger: ${health.latestLedger}")
}Content copied to clipboard
Return
Health status including latest/oldest ledger info
See also
Throws
If the RPC request fails