Sep06DepositExchangeAsset

@Serializable
data class Sep06DepositExchangeAsset(val enabled: Boolean, val authenticationRequired: Boolean? = null, val fields: Map<String, Sep06Field>? = null)

Configuration for a deposit-exchange asset supported by the anchor.

Used when the anchor supports deposit operations that include asset exchange via SEP-38 quotes as part of the transaction flow.

Constructors

Link copied to clipboard
constructor(enabled: Boolean, authenticationRequired: Boolean? = 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 endpoint

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

Whether SEP-6 deposit-exchange for this asset is supported

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

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