LedgerInfo
public struct LedgerInfo : Decodable, Sendable
Represents a single ledger in the getLedgers response. See: Stellar developer docs
-
Hash of the ledger as a hex-encoded string
Declaration
Swift
public let ledgerHash: String -
Sequence number of the ledger
Declaration
Swift
public let sequence: UInt32 -
The unix timestamp of the close time of the ledger
Declaration
Swift
public let ledgerCloseTime: String -
Base64-encoded ledger header XDR
Declaration
Swift
public let headerXdr: String? -
Base64-encoded ledger metadata XDR
Declaration
Swift
public let metadataXdr: String? -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash