Skip to main content

MerkleTreeLocalStorage.addToMerkleTree() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

adds to merkle tree in the local storage

Signature:

addToMerkleTree(identifier: string, mtType: MerkleTreeType, hindex: bigint, hvalue: bigint): Promise<void>;

Parameters

ParameterTypeDescription
identifierstring
mtTypeMerkleTreeType
hindexbigint
hvaluebigint

Returns:

Promise<void>