Table of Contents

Class VtxoChainEntry

Namespace
NArk.Core.Transport.Models
Assembly
NArk.Core.dll

A single entry in a VTXO's virtual transaction chain. Chains returned by GetVtxoChainAsync(OutPoint, string?, string?, CancellationToken) are ordered leaf -> root: the VTXO's own tx first, ending at the on-chain Commitment anchor.

public record VtxoChainEntry : IEquatable<VtxoChainEntry>
Inheritance
VtxoChainEntry
Implements
Inherited Members

Constructors

VtxoChainEntry(string, DateTimeOffset, ChainedTxType, IReadOnlyList<string>)

A single entry in a VTXO's virtual transaction chain. Chains returned by GetVtxoChainAsync(OutPoint, string?, string?, CancellationToken) are ordered leaf -> root: the VTXO's own tx first, ending at the on-chain Commitment anchor.

public VtxoChainEntry(string Txid, DateTimeOffset ExpiresAt, ChainedTxType Type, IReadOnlyList<string> Spends)

Parameters

Txid string
ExpiresAt DateTimeOffset
Type ChainedTxType
Spends IReadOnlyList<string>

Properties

ExpiresAt

public DateTimeOffset ExpiresAt { get; init; }

Property Value

DateTimeOffset

Spends

public IReadOnlyList<string> Spends { get; init; }

Property Value

IReadOnlyList<string>

Txid

public string Txid { get; init; }

Property Value

string

Type

public ChainedTxType Type { get; init; }

Property Value

ChainedTxType