Constructor
Number of levels in the tree
Initial elements
Function used to hash 2 leaves
Value for non-existent leaves
Get merkle path to a leaf
Leaf index to generate path for
An object containing adjacent elements and left-right index
Serialize entire tree state including intermediate layers into a plain object Deserializing it back will not require to recompute any hashes Elements are not converted to a plain type, this is responsibility of the caller
Static
deserializeGenerated using TypeDoc
Merkle tree