Table of Contents

Class TreeTxEvent

Namespace
NArk.Abstractions.Batches.ServerEvents
Assembly
NArk.Abstractions.dll

Server-published virtual transaction node in the batch tree.

public record TreeTxEvent : BatchEvent, IEquatable<BatchEvent>, IEquatable<TreeTxEvent>
Inheritance
TreeTxEvent
Implements
Inherited Members

Constructors

TreeTxEvent(string, int, Dictionary<uint, string>, IReadOnlyCollection<string>, string, string)

Server-published virtual transaction node in the batch tree.

public TreeTxEvent(string Id, int BatchIndex, Dictionary<uint, string> Children, IReadOnlyCollection<string> Topic, string Tx, string TxId)

Parameters

Id string

Batch ID.

BatchIndex int

Which subtree this node belongs to: 0 = VTXO tree, 1 = connectors tree.

Children Dictionary<uint, string>

Map of output-index → child txid.

Topic IReadOnlyCollection<string>

Stream topics this event targets.

Tx string

PSBT of this tree node (base64).

TxId string

Transaction ID of this node.

Properties

BatchIndex

Which subtree this node belongs to: 0 = VTXO tree, 1 = connectors tree.

public int BatchIndex { get; init; }

Property Value

int

Children

Map of output-index → child txid.

public Dictionary<uint, string> Children { get; init; }

Property Value

Dictionary<uint, string>

Id

Batch ID.

public string Id { get; init; }

Property Value

string

Topic

Stream topics this event targets.

public IReadOnlyCollection<string> Topic { get; init; }

Property Value

IReadOnlyCollection<string>

Tx

PSBT of this tree node (base64).

public string Tx { get; init; }

Property Value

string

TxId

Transaction ID of this node.

public string TxId { get; init; }

Property Value

string