WalletSendMotion enum
The in-motion axis of a two-step (ZIP-320) payment. Three-valued because the truth is: the SDK can be sure it is in motion, sure it is not, or unable to tell — and a host that reads a two-state answer will act on a certainty the wallet does not have.
Values
- notInMotion → const WalletSendMotion
-
An ordinary payment, or a two-step whose legs are all accounted for. No funds are parked on a one-time address mid-transfer.
- inMotion → const WalletSendMotion
-
A two-step (ZIP-320) payment whose legs are PARTLY out: the funds have left the shielded pool onto a one-time address the wallet controls, and have not confirmed at the recipient.
The honest host copy says only the permanently-true things — it is on its way, do not send it again, recover from the wallet if it does not complete. It must NOT promise the wallet will finish on its own: the forwarding leg can expire, and only the wallet's own recovery resolves that.
- indeterminate → const WalletSendMotion
-
A two-step payment where NOTHING came back accepted. That is either "nothing went out" or "the wallet's own background re-broadcast landed both legs first and the reject codes are 'already known'" — and the wallet cannot tell which, because reject codes are backend-specific and deliberately uninterpreted.
Treat it as inMotion for anything that could cause a second payment: a host offering "pay another way" here can double-pay a payee whose money is already travelling. The wallet's own in-flight cue owns the later truth.
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<
WalletSendMotion> - A constant List of the values in this enum, in order of their declaration.