Sep06WithdrawAsset

@Serializable
data class Sep06WithdrawAsset(val enabled: Boolean, val authenticationRequired: Boolean? = null, val minAmount: String? = null, val maxAmount: String? = null, val feeFixed: String? = null, val feePercent: String? = null, val types: Map<String, Sep06WithdrawType>? = null)

Configuration for a withdrawal asset supported by the anchor.

Contains all the details about how withdrawals work for a specific asset, including whether it's enabled, authentication requirements, fee structure, transaction limits, and supported withdrawal types with their required fields.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, authenticationRequired: Boolean? = null, minAmount: String? = null, maxAmount: String? = null, feeFixed: String? = null, feePercent: String? = null, types: Map<String, Sep06WithdrawType>? = null)

Properties

Link copied to clipboard
@SerialName(value = "authentication_required")
val authenticationRequired: Boolean?

Whether client must be authenticated before accessing the withdraw endpoint

Link copied to clipboard
@SerialName(value = "enabled")
val enabled: Boolean

Whether SEP-6 withdrawal for this asset is supported

Link copied to clipboard
@SerialName(value = "fee_fixed")
val feeFixed: String?

Fixed fee charged for the operation

Link copied to clipboard
@SerialName(value = "fee_percent")
val feePercent: String?

Percentage fee charged for the operation

Link copied to clipboard
@SerialName(value = "max_amount")
val maxAmount: String?

Maximum amount that can be withdrawn

Link copied to clipboard
@SerialName(value = "min_amount")
val minAmount: String?

Minimum amount that can be withdrawn

Link copied to clipboard
@SerialName(value = "types")
val types: Map<String, Sep06WithdrawType>?

Map of supported withdrawal types (e.g., bank_account, crypto) with their required fields