- Preparing search index...
- The search index is not available
API References
- getMerkleProof(data: MerkleTreeInput[], leaf: MerkleTreeInput, index?: number): Uint8Array[]
-
Parameters
-
data: MerkleTreeInput[]
-
leaf: MerkleTreeInput
-
Optional
index: number
Returns Uint8Array[]
Creates a Merkle Proof for a given data item.
This proof can be used to verify that the given data item is part of the original data set.