InvalidMemoTypeException

Exception thrown when the challenge transaction has an invalid memo type.

SEP-10 Security Requirement: If a memo is present, it MUST be of type MEMO_ID.

Only MEMO_ID is allowed because:

  • It represents an unsigned 64-bit integer for account sub-identifiers

  • It cannot contain executable code or injection attacks

  • It has a predictable, fixed format for validation

MEMO_TEXT, MEMO_HASH, and MEMO_RETURN are not allowed in SEP-10 challenges as they introduce unnecessary complexity and potential security risks.

Parameters

memoType

The actual memo type found (e.g., "MEMO_TEXT", "MEMO_HASH")

Constructors

Link copied to clipboard
constructor(memoType: String)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?