getMerkleRoot
Description
The getMerkleRoot
method computes the Merkle root 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 Merkle root.
Example
Last updated