FeeDetails
public struct FeeDetails : Decodable, Sendable
Detailed breakdown of fees charged for a transaction.
Provides a comprehensive view of all fees applied, including the total fee amount, the asset in which fees are charged, and optional itemized details.
-
The total amount of fee applied.
Declaration
Swift
public let total: String -
The asset in which the fee is applied, represented through the Asset Identification Format.
Declaration
Swift
public let asset: String -
(optional) An array of objects detailing the fees that were used to calculate the conversion price. This can be used to datail the price components for the end-user.
Declaration
Swift
public let details: [FeeDetailsDetails]? -
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