FeeStatsResponse
public struct FeeStatsResponse : Decodable, Sendable
Represents fee statistics from the Horizon API. This endpoint provides information about transaction fees and network capacity usage from the last ledger, helping clients determine appropriate fee levels for transactions. See Stellar developer docs
-
The sequence number of the last ledger.
Declaration
Swift
public let lastLedger: String -
The base fee as defined in the last ledger, in stroops.
Declaration
Swift
public let lastLedgerBaseFee: String -
The capacity usage of the ledger, from 0 to 1 representing the percentage of maximum capacity.
Declaration
Swift
public let ledgerCapacityUsage: String -
Statistics about fees actually charged in recent ledgers.
Declaration
Swift
public let feeCharged: FeeChargedResponse -
Statistics about maximum fees willing to be paid in recent ledgers.
Declaration
Swift
public let maxFee: MaxFeeResponse -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash