CompleteDeferredPaymentCommand class
Completes an outstanding deferred payment that the wallet signed only in part, with rawHex: the same transaction carrying the counterparty's signatures on the inputs the wallet does not hold.
A sale in one transaction is the case: the first side to sign records a half that cannot be broadcast, and holds its inputs. When the other side returns the completed transaction, the wallet records it in the half's place: same inputs, sequences, outputs, version and lock time, the wallet's own unlocking scripts unchanged. The completed transaction takes over the hold, and the half is DeferredPaymentState.completed. Nothing is broadcast here: settle the completed transaction as any other deferred payment (or the counterparty broadcasts it). Replied with DeferredPaymentCompletedEvent.
- Inheritance
-
- Object
- CoordinatorRequest<
DeferredPaymentCompletedEvent> - CompleteDeferredPaymentCommand
Constructors
- CompleteDeferredPaymentCommand({required String walletId, required String txid, required String rawHex, String? requestId})
Properties
- correlationId → String
-
The correlation ID of the message.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
The metadata of the message.
no setter
- rawHex → String
-
The completed transaction.
final
- replyTimeout → Duration
-
How long
WalletCoordinator.askwaits for the reply when the caller gives no timeout. A request that is still running then is not cancelled: its reply arrives on the event stream later.no setterinherited - 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
- txid → String
-
The half-signed deferred payment.
final
- 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