TransactionNetworkStatusCheckedEvent class
A network status observed for a deferred payment (ARC or the configured data source). The periodic status scan journals a status only when it differs from the last one; an explicit check or broadcast always does.
SEEN_ON_NETWORK and MINED move an outstanding (or failed / cancelled) payment to seen. MINED is never a confirmation: that takes a merkle proof checked against the local headers (TransactionConfirmedEvent).
- Inheritance
-
- Object
- WalletEvent
- TransactionNetworkStatusCheckedEvent
Constructors
-
TransactionNetworkStatusCheckedEvent({required String walletId, required String txid, required String networkStatus, required String source, required DateTime checkedAt, int? blockHeight, bool explicit = false, List<
String> competingTxids = const [], String? eventId, DateTime? timestamp, int? version, Map<String, dynamic> ? metadata})
Properties
- aggregateId → String
-
The ID of the aggregate this event belongs to
no setterinherited
- aggregateType → String
-
The type of aggregate this event belongs to
no setterinherited
- blockHeight → int?
-
final
- checkedAt → DateTime
-
final
-
competingTxids
→ List<
String> -
The competing transactions ARC named with this status (
competingTxs, reported with DOUBLE_SPEND_ATTEMPTED; bead libspiffy-pkum). Written only when there are any; an event journaled before reads back with none.final - correlationId → String
-
The correlation ID of the message.
no setterinherited
- eventId → String
-
Unique identifier for this event
Used for deduplication and correlation
no setterinherited
- explicit → bool
-
True for a user-requested check or broadcast.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> -
Additional metadata for the event
Can include correlation IDs, causation IDs, user context, etc.
no setterinherited
- networkStatus → String
-
final
-
persistableMetadata
→ Map<
String, dynamic> -
metadataas it is persisted: transientActorRefentries removed.no setterinherited - replyTo → ActorRef?
-
The actor to reply to, if a live
ActorRefwas placed inmetadata['replyTo'].no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
arcordataSource.final - timestamp → DateTime
-
Timestamp when the event occurred
no setterinherited
- txid → String
-
final
- typeName → String
-
Stable identity of this event type in storage.
no setter
- version → int
-
Version/sequence number of this event within its aggregate
Used for ordering and optimistic concurrency control
no setterinherited
- walletId → String
-
ID of the wallet this event belongs to (same as aggregateId)
no setterinherited
Methods
-
getEventData(
) → Map< String, dynamic> -
Implementation of SerializableEvent.getEventData
inherited
-
getValidationErrors(
) → List< String> -
Get validation errors
Override in subclasses to provide specific error messages
inherited
-
getWalletEventData(
) → Map< String, dynamic> -
Wallet-specific event data (to be implemented by concrete events)
override
-
isValid(
) → bool -
Validate the event
Override in subclasses for custom validation
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCbor(
) → List< int> -
Serialize event to CBOR bytes
inherited
-
toMap(
) → Map< String, dynamic> -
Convert event to a map for serialization
Override in subclasses to include event-specific data
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> map) → TransactionNetworkStatusCheckedEvent - Create event from a map during deserialization This is a factory method that should be implemented by concrete event classes
Constants
- stableTypeName → const String