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
Parameter | Type | Description |
---|---|---|
identifier | string | |
mtType | MerkleTreeType | |
hindex | bigint | |
hvalue | bigint |
Returns:
Promise<void>