On this page
Class: MerkleTree
Defined in: @nimiq/core/types/wasm/web.d.ts:1282
The Merkle tree is a data structure that allows for efficient verification of the membership of an element in a set.
Methods
free()
free():
void
Defined in: @nimiq/core/types/wasm/web.d.ts:1284
Returns
void
computeRoot()
static
computeRoot(values
):Uint8Array
Defined in: @nimiq/core/types/wasm/web.d.ts:1288
Computes the root of a Merkle tree from a list of Uint8Arrays.
Parameters
values
Uint8Array
[]
Returns
Uint8Array