WalletSendRequestFault enum
Why a ZIP-321 URI was rejected at the WalletSendRequest.fromUri seam. No payload (§5.4 — never echoes URI bytes); the host maps it to honest copy.
Values
- malformed → const WalletSendRequestFault
-
The CATCH-ALL for every non-wrongNetwork parse failure: not a usable
zcash:request URI — unparseable / oversized / a syntactically bad leg, but also a well-formed leg the audited core rejects (e.g. an out-of-range amount). Maps the core parser's payload-freePaymentUriInvalid; a host surfaces it as "not a valid payment code". - wrongNetwork → const WalletSendRequestFault
-
Well-formed, but a leg targets a DIFFERENT network than this wallet (e.g. a testnet URI scanned into a mainnet wallet) — distinct from malformed so the host can say "this is for a different network".
- multiplePayments → const WalletSendRequestFault
-
The URI carries MORE THAN ONE payment leg. Valid ZIP-321, but the single-recipient send form cannot hold it — rejected rather than silently paying only the first leg (which would also break the single-leg
selfSendauthorization invariant; see the coupling note in send_authorization.dart). - unsupportedMemo → const WalletSendRequestFault
-
The URI carries a machine (ZIP-302 0xFF) or reserved memo the editable text field cannot represent — rejected rather than silently dropped (a payment-reference the recipient may need must not vanish).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
WalletSendRequestFault> - A constant List of the values in this enum, in order of their declaration.