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.
Constructors
- CompleteDeferredPaymentCommand({required String walletId, required String txid, required String rawHex, String? requestId})
Properties
- correlationId → String
-
The correlation ID of the message.
no setter
- 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
- replyTo → ActorRef?
-
The actor to reply to.
no setter
- requestId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
The timestamp of the message.
no setter
- 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