Skip to main content

MerkleTreeIndexedDBStorage.getMerkleTreeByIdentifierAndType() 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.

get merkle tree from the indexed db storage

Signature:

getMerkleTreeByIdentifierAndType(identifier: string, mtType: MerkleTreeType): Promise<Merkletree>;

Parameters

ParameterTypeDescription
identifierstring
mtTypeMerkleTreeType

Returns:

Promise<Merkletree>