Sep06DepositAsset

@Serializable
data class Sep06DepositAsset(val enabled: Boolean, val authenticationRequired: Boolean? = null, val minAmount: String? = null, val maxAmount: String? = null, val feeFixed: String? = null, val feePercent: String? = null, val fields: Map<String, Sep06Field>? = null)

Configuration for a deposit asset supported by the anchor.

Contains all the details about how deposits work for a specific asset, including whether it's enabled, authentication requirements, fee structure, transaction limits, and any additional fields required.

Constructors

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

Properties

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

Whether client must be authenticated before accessing the deposit endpoint

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

Whether SEP-6 deposit 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 = "fields")
val fields: Map<String, Sep06Field>?

Custom fields required for the deposit transaction (deprecated, use SEP-12)

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

Maximum amount that can be deposited

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

Minimum amount that can be deposited