getMerkleTree
Description
The getMerkleTree
method constructs the complete Merkle tree from a list of input values.
Parameters
inputs
(string[]
): An array of strings representing the hashed leaf nodes of the Merkle tree.
Returns
Returns a Promise
that resolves to a string
containing the serialized Merkle tree.
Example
Last updated