CoinsUnlockedEvent class
The answer to UnlockCoinsCommand.
- Inheritance
-
- Object
- CoordinatorEvent
- CoordinatorReply
- CoinsUnlockedEvent
Constructors
- CoinsUnlockedEvent({String? walletId, String? requestId, required String utxoKey, String? transactionId, BigInt? amount, required bool success, String? error, SpiffyErrorCode? errorCode})
Properties
- amount → BigInt?
-
What came back to the wallet: the coin less the fee.
final
- error → String?
-
final
- errorCode → SpiffyErrorCode?
-
Why it failed, when that is known.
final
- eventTimestamp → DateTime
-
When the event was made.
finalinherited
- failure → String?
-
Why the request failed, or null when it succeeded.
WalletCoordinator.askthrows a CoordinatorFailure carrying this reply when it is not null.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- requestId → String?
-
The CoordinatorRequest.requestId of the request this answers; null
when no request caused it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
final
- transactionId → String?
-
The unlock transaction; set once it was built, even when its broadcast
failed.
final
- utxoKey → String
-
final
- walletId → String?
-
Optional wallet ID for filtering events by wallet
final
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