Sep06Field

@Serializable
data class Sep06Field(val description: String? = null, val optional: Boolean? = null, val choices: List<String>? = null)

Describes a field that needs to be provided for a transaction.

Anchors use this to specify additional fields required for deposits or withdrawals beyond the standard parameters.

Constructors

Link copied to clipboard
constructor(description: String? = null, optional: Boolean? = null, choices: List<String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "choices")
val choices: List<String>?

List of possible values for the field

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

Description of field to show to user

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

Whether the field is optional (defaults to false)