DepositInstruction

public struct DepositInstruction : Decodable, Sendable

Instruction for completing the off-chain deposit.

Contains SEP-9 financial account fields that describe how to complete the deposit. Each instruction provides a value and description for a specific field.

See SEP-6 Deposit Response

  • The value of the field.

    Declaration

    Swift

    public let value: String
  • A human-readable description of the field. This can be used by an anchor to provide any additional information about fields that are not defined in the SEP-9 standard.

    Declaration

    Swift

    public let description: String
  • Initializer - creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data