Table of Contents

Namespace NArk.Core.Events

Classes

NewContractActionEvent
PostBatchSessionEvent
PostBatchVtxoPollingHandler

Event handler that polls for VTXO updates after a successful batch session. This ensures the local VTXO state is updated with the new outputs from the batch.

PostCoinsSpendActionEvent
PostIntentSubmissionEvent
PostSettlementActionEvent

Raised after the settlement engine attempted a settlement, whether it succeeded or failed. Register an IEventHandler<TEvent> for it to record transfers, notify a user, or drive a retry of your own.

PostSpendVirtualTxPruneHandler

After a successful spend, prunes virtual tx data for spent VTXOs. Per-tx storage handles shared nodes naturally — orphan cleanup only removes VirtualTx rows with zero remaining VtxoBranch references.

PostSpendVtxoPollingHandler

Event handler that polls for VTXO updates after a successful spend transaction broadcast. This ensures the local VTXO state reflects the new outputs from the transaction.

PostSweepActionEvent

Interfaces

IEventHandler<TEvent>

Handles domain events raised by SDK services. Register implementations via DI to react to events such as PostBatchSessionEvent, PostSweepActionEvent, or PostCoinsSpendActionEvent.