LockCoinsCommand class
Lock amount satoshis of the wallet's coins until block lockHeight (bead spiffyvault-mnz.2): a HODLocker output to a fresh receive address of the wallet, paid like any payment (selection, fee, change), recorded, and broadcast. Answered with ARC's answer to the broadcast.
The coin is the wallet's locked balance (BalanceResponse.lockedBalance)
until UnlockCoinsCommand spends it back, at or after lockHeight. A
seed-phrase import finds it again: the lock transaction is in the history
of the coins that paid for it.
- Inheritance
-
- Object
- CoordinatorRequest<
CoinsLockedEvent> - LockCoinsCommand
Constructors
- LockCoinsCommand({required String walletId, required BigInt amount, required int lockHeight, String? requestId})
Properties
- amount → BigInt
-
final
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lockHeight → int
-
A block height above the chain's current height and below 500000000
(larger values are times, which the contract refuses).
final
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- replyTimeout → Duration
-
Building the payment, then ARC's answer to its broadcast.
no setteroverride
- replyTo → ActorRef?
-
The actor to reply to.
no setterinherited
- requestId → String
-
Identifies this request; its reply carries it back.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
The timestamp of the message.
finalinherited
- walletId → String
-
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