TransactionConfirmationRevertedEvent class

The chain no longer supports a confirmation this wallet announced.

Sent when a TransactionConfirmedEvent is taken back: the block the transaction was proven in left the active chain in a reorganization, or the header at the proof's height contradicts it. The transaction goes back to unconfirmed and its outputs cannot be spent until a fresh proof arrives — which it usually does, for the block that replaced the one that left, and the wallet then announces TransactionConfirmedEvent again.

An application that acted on the confirmation — shipped the goods, credited an account — learns here that the evidence for it is gone.

Inheritance

Constructors

TransactionConfirmationRevertedEvent({required String walletId, required String txid, required String reason, int? blockHeight, String? blockHash})

Properties

blockHash → String?
The block the proof named, the one that left the active chain; null when the proof never named a block.
final
blockHeight → int?
The height the confirmation was recorded at; null when the row was confirmed without one.
final
eventTimestamp → DateTime
When the event was made.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
reason → String
Why it was taken back, as the wallet recorded it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
txid → String
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