MemoTypeAsString

public struct MemoTypeAsString : Sendable

String constants for memo types used in transactions.

Memos are optional attachments to transactions that can be used to include additional information or identification.

See: Stellar developer docs for more information.

  • No memo attached to the transaction.

    Declaration

    Swift

    public static let NONE: String
  • Text memo up to 28 bytes.

    Declaration

    Swift

    public static let TEXT: String
  • ID

    64-bit unsigned integer memo.

    Declaration

    Swift

    public static let ID: String
  • 32-byte hash memo.

    Declaration

    Swift

    public static let HASH: String
  • 32-byte hash memo for returning payments.

    Declaration

    Swift

    public static let RETURN: String