Skip to main content

Module event

Module event 

Source
Expand description

Submission events emitted while a transaction progresses through the node.

The TS reference (SubmissionEvent.ts) collapses the Substrate tx-pool status stream into three observable events: SubmissionEvent::Submitted (for Ready/Future/Broadcast/Retracted), SubmissionEvent::InBlock, and SubmissionEvent::Finalized. Terminal-error statuses (FinalityTimeout/Usurped/Dropped/Invalid) do not appear here — they are surfaced as crate::NodeClientError variants instead.

Enums§

SubmissionEvent
Event stream item emitted while a submitted transaction progresses through the node’s tx pool.
SubmissionStage
Coarse-grained stage label — ordered (Submitted < InBlock < Finalized) so callers can say “wait for at least InBlock” semantically.

Type Aliases§

HexString
Hex string with 0x prefix, matching the TS HexString alias. Used for transaction and block hashes on the wire and in event payloads.