Skip to main content

TreeInsertionPath

For the complete documentation index, see llms.txt

@midnight/ledger v8.1.2


@midnight/ledger / TreeInsertionPath

Type Alias: TreeInsertionPath<A>

type TreeInsertionPath<A> = {
annotation: A;
leafHash: string;
path: TreeInsertionPathEntry[];
};

A path evidencing how to insert an entry into a Merkle tree, even if it is collapsed.

Type Parameters​

A​

A

Properties​

annotation​

annotation: A;

leafHash​

leafHash: string;

path​

path: TreeInsertionPathEntry[];