BroadcastDeferredPaymentCommand class

Broadcast a deferred payment yourself, e.g. when the recipient is slow to do it. Its unconfirmed ancestors (from the BEEF rebuilt from storage) are submitted first. Idempotent: a transaction the network already has is reported as such. Answered with DeferredPaymentBroadcastEvent.

On an on-network answer the payment's inputs are marked spent; ARC's REJECTED fails the payment and releases them. DOUBLE_SPEND_ATTEMPTED (a competing transaction; not final) keeps the payment outstanding with its inputs held, and is reported with success false. With via including the data source, a transaction ARC refuses to take is submitted to the configured BlockchainDataSource.

Inheritance

Constructors

BroadcastDeferredPaymentCommand({required String walletId, required String txid, DeferredPaymentNetworkSource via = DeferredPaymentNetworkSource.arc, 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
replyTimeout → Duration
How long WalletCoordinator.ask waits 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 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
txid → String
final
via → DeferredPaymentNetworkSource
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