Sep06WithdrawExchangeAsset

@Serializable
data class Sep06WithdrawExchangeAsset(val enabled: Boolean, val authenticationRequired: Boolean? = null, val types: Map<String, Sep06WithdrawType>? = null)

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

Used when the anchor supports withdrawal 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, 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 endpoint

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

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

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

Map of supported withdrawal types with their required fields