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.
Constructors
- BroadcastDeferredPaymentCommand({required String walletId, required String txid, DeferredPaymentNetworkSource via = DeferredPaymentNetworkSource.arc, 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
- 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
-
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