CoinsLockedEvent class

The answer to LockCoinsCommand.

Inheritance

Constructors

CoinsLockedEvent({String? walletId, String? requestId, String? transactionId, String? ownerAddress, required int lockHeight, required BigInt amount, required bool success, String? error, SpiffyErrorCode? errorCode})

Properties

amount → BigInt
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.ask throws a CoordinatorFailure carrying this reply when it is not null.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
lockHeight → int
final
ownerAddress → String?
The address of the key the coin is locked to.
final
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 lock transaction; set once it was built, even when its broadcast failed.
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