Table of Contents

Namespace NArk.Abstractions.Exit

Classes

ExitPlan

Carries the minimum state the SDK needs to advance from a broadcast chain to a matured claim. Returned by UnilateralExitService.BroadcastExitChainAsync and consumed by UnilateralExitService.ClaimMaturedExitAsync.

The stateless exit path doesn't persist anything itself — the caller owns this record. Serialize it however you like (JSON, a settings entry, a file on disk) and feed it back once you believe the CSV timelock has matured. The SDK re-derives any other state (chain confirmation, current block height, contract data, fee rate) at claim time from the live broadcaster and configured stores.

ExitSession

Tracks the state of a unilateral exit for a single VTXO.

Interfaces

IExitSessionStorage

Storage for unilateral exit sessions.

Enums

ExitSessionState

State machine for unilateral exit sessions.