GetHealthResponse
public struct GetHealthResponse : Decodable, Sendable
General node health check response.
-
Health status e.g. “healthy”
Declaration
Swift
public let status: String -
Most recent known ledger sequence
Declaration
Swift
public let latestLedger: Int -
Oldest ledger sequence kept in history
Declaration
Swift
public let oldestLedger: Int -
Maximum retention window configured. A full window state can be determined via: ledgerRetentionWindow = latestLedger - oldestLedger + 1
Declaration
Swift
public let ledgerRetentionWindow: Int -
The unix timestamp (seconds) of the close time of the latest known ledger, as a string. Returned by RPC servers from v27.1.0; nil when the server does not provide it.
Declaration
Swift
public let latestLedgerCloseTime: String? -
The unix timestamp (seconds) of the close time of the oldest ledger kept in history, as a string. Returned by RPC servers from v27.1.0; nil when the server does not provide it.
Declaration
Swift
public let oldestLedgerCloseTime: String? -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash