DeferredPaymentReclaimedEvent class
Result of ReclaimDeferredPaymentCommand.
success says the self-spend was journaled and the network holds it
(SEEN_ON_NETWORK or MINED; an answer ARC gave in flight is followed
for up to 30 s until it gives a verdict), and the payment is then
DeferredPaymentState.reclaimed. Otherwise the payment stays
outstanding with its inputs held by the self-spend, and it resolves as
reclaimed if the network reports the self-spend later (watch it with
GetDeferredPaymentsQuery or CheckDeferredPaymentStatusCommand on
reclaimTxid).
- Inheritance
-
- Object
- CoordinatorEvent
- CoordinatorReply
- DeferredPaymentReclaimedEvent
Constructors
-
DeferredPaymentReclaimedEvent({required String walletId, required String txid, String? requestId, required bool success, String? reclaimTxid, List<
String> reclaimedUtxoKeys = const [], BigInt? reclaimedSatoshis, BigInt? fee, String? toAddress, String? networkStatus, String? source, List<String> competingTxids = const [], String? error})
Properties
-
competingTxids
→ List<
String> -
Transactions the network named as spending the same inputs — the
recipient's copy, when they got it out first.
final
- error → String?
-
final
- eventTimestamp → DateTime
-
When the event was made.
finalinherited
- failure → String?
-
Why the request failed, or null when it succeeded.
WalletCoordinator.askthrows a CoordinatorFailure carrying this reply when it is not null.no setteroverride - fee → BigInt?
-
The standard policy fee the self-spend pays (ARC's published mining
fee for its size). Never raised to outbid anything: on BSV a
conflicting transaction cannot be displaced by paying more.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- networkStatus → String?
-
The network's answer to the broadcast of the self-spend.
final
- reclaimedSatoshis → BigInt?
-
What comes back to the wallet: the held satoshis less fee.
final
-
reclaimedUtxoKeys
→ List<
String> -
The inputs the self-spend spends.
final
- reclaimTxid → String?
-
The wallet's self-spend of its held inputs, null when none was built.
final
- requestId → String?
-
The CoordinatorRequest.requestId of the request this answers; null
when no request caused it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
final
- success → bool
-
final
- toAddress → String?
-
The wallet address the self-spend pays.
final
- txid → String
-
The deferred payment being reclaimed.
final
- walletId → String
-
Optional wallet ID for filtering events by wallet
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