Skip to main content

getHealth RPC Method

Checks the health status of the node.

Updated on
Feb 21, 2024

Parameters

This method does not accept any parameters

Returns

status
string

The string value representing the health of the node

latestLedger
integer

The sequence number of the most recent ledger known to the node

latestLedgerCloseTime
string

The unix timestamp (in seconds) at which the latest ledger closed, returned as a string. Lets clients assess ledger freshness from the health endpoint without fetching full ledger metadata

oldestLedger
integer

The sequence number of the oldest ledger still kept in the node's history

oldestLedgerCloseTime
string

The unix timestamp (in seconds) at which the oldest ledger closed, returned as a string

ledgerRetentionWindow
integer

The maximum history retention window configured on the node, measured in ledgers. The actual number of ledgers currently retained (latestLedger - oldestLedger + 1) grows up to this value as the node fills its window

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free