Sep38Fee
public struct Sep38Fee : Decodable, Sendable
Fee information for a SEP-38 quote or price.
This structure contains the total fee amount and optionally a detailed breakdown of individual fee components. The fee is always denominated in a specific asset.
-
The total fee amount.
Represented as a decimal string in the fee asset’s units.
Declaration
Swift
public let total: String -
The asset in which the fee is denominated.
In SEP-38 Asset Identification Format.
Declaration
Swift
public let asset: String -
Optional breakdown of the fee into individual components.
Each component describes a specific fee charge with its name, amount, and optional description.
Declaration
Swift
public let details: [Sep38FeeDetails]? -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash