Sep24DepositAsset
public struct Sep24DepositAsset : Decodable, Sendable
Information about a deposit asset supported by an anchor.
Contains details about deposit capabilities, limits, and fees for a specific asset.
-
True if deposit for this asset is supported.
Declaration
Swift
public let enabled: Bool -
Minimum deposit amount. No limit if not specified.
Declaration
Swift
public let minAmount: Double? -
Maximum deposit amount. No limit if not specified.
Declaration
Swift
public let maxAmount: Double? -
Fixed (base) fee for deposit. In units of the deposited asset. This is in addition to any fee_percent. Omitted if there is no fee or the fee schedule is complex.
Declaration
Swift
public let feeFixed: Double? -
Percentage fee for deposit. In percentage points. This is in addition to any fee_fixed. Omitted if there is no fee or the fee schedule is complex.
Declaration
Swift
public let feePercent: Double? -
Minimum fee in units of the deposited asset.
Declaration
Swift
public let feeMinimum: Double? -
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