Class VirtualTx
- Namespace
- NArk.Abstractions.VirtualTxs
- Assembly
- NArk.Abstractions.dll
A single virtual transaction in the VTXO tree.
public record VirtualTx : IEquatable<VirtualTx>
- Inheritance
-
VirtualTx
- Implements
- Inherited Members
Constructors
VirtualTx(string, string?, DateTimeOffset?, ChainedTxType)
A single virtual transaction in the VTXO tree.
public VirtualTx(string Txid, string? Hex, DateTimeOffset? ExpiresAt, ChainedTxType Type = ChainedTxType.Unspecified)
Parameters
TxidstringTransaction id (hex).
HexstringPSBT-encoded transaction body, or null when only the txid + metadata are stored (Lite mode, or for on-chain commitments the indexer doesn't expose hex for).
ExpiresAtDateTimeOffset?When the operator's pre-signature on this tx expires; null if not applicable (e.g. a confirmed commitment tx).
TypeChainedTxTypeTx type as reported by arkd's chain indexer. Lets consumers tell apart the on-chain commitment root from the off-chain tree / Ark / checkpoint nodes without re-querying the indexer.
Properties
ExpiresAt
When the operator's pre-signature on this tx expires; null if not applicable (e.g. a confirmed commitment tx).
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
Hex
PSBT-encoded transaction body, or null when only the txid + metadata are stored (Lite mode, or for on-chain commitments the indexer doesn't expose hex for).
public string? Hex { get; init; }
Property Value
Txid
Transaction id (hex).
public string Txid { get; init; }
Property Value
Type
Tx type as reported by arkd's chain indexer. Lets consumers tell apart the on-chain commitment root from the off-chain tree / Ark / checkpoint nodes without re-querying the indexer.
public ChainedTxType Type { get; init; }