Sep38SellDeliveryMethod

public struct Sep38SellDeliveryMethod : Decodable, Sendable

Delivery method for selling an asset to the anchor.

This structure describes a method by which the client can deliver the sell asset to the anchor. Available methods depend on the asset and are returned by the GET /info endpoint.

  • The identifier for this delivery method.

    Example: “bank_transfer”, “cash”, “wire”

    Declaration

    Swift

    public let name: String
  • Human-readable description of this delivery method.

    Explains how the client should deliver the asset using this method.

    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