Table of Contents

Namespace NArk.Abstractions.VirtualTxs

Classes

VirtualTx

A single virtual transaction in the VTXO tree.

VtxoBranch

Links a VTXO to one virtual tx in its exit branch, with position ordering. Position 0 = the VTXO's own (leaf) tx, higher = further up the ancestry, ending at the commitment tx (tree root). Do not identify the leaf/root by array position when consuming a branch — match by Commitment for the root, and by txid equal to the VTXO's own outpoint for the leaf.

Interfaces

IVirtualTxStorage

Storage for virtual transactions and their association with VTXOs.

Enums

ChainedTxType

Type of a transaction inside a VTXO's chain (commitment → leaf). Carried on every VirtualTx record so consumers can distinguish on-chain anchors (Commitment) from the off-chain virtual txs in the tree (Tree / Ark / Checkpoint) without re-querying the indexer.

VirtualTxMode

Controls how much virtual tx data is stored.