Table of Contents

Class VirtualTxOptions

Namespace
NArk.Core.Models.Options
Assembly
NArk.Core.dll

Configuration options for virtual tx fetching and storage.

public class VirtualTxOptions
Inheritance
VirtualTxOptions
Inherited Members

Properties

DefaultMode

Default mode for virtual tx storage. Full stores raw tx hex immediately; Lite stores only txids + expiry and defers hex fetch until the first UnilateralExitService.StartExitAsync call for that VTXO.

Lite is the default because the common case never exits unilaterally — most VTXOs settle into the next batch or get spent off-chain, and storing hex for all of them is pure cost. Switch to Full if your application has strict offline-exit requirements (e.g. it must be able to broadcast the exit chain without an indexer round-trip).

public VirtualTxMode DefaultMode { get; set; }

Property Value

VirtualTxMode

MinExitWorthAmount

Minimum VTXO amount (in sats) worth fetching exit data for. VTXOs below this threshold are skipped to avoid storing exit data that would cost more in fees than the VTXO is worth.

public ulong MinExitWorthAmount { get; set; }

Property Value

ulong