createMerkleProof
@totemsdk/raster-proof / createMerkleProof
Function: createMerkleProof()
createMerkleProof(
chunks,leafIndex):RasterMerkleProof
Build a Merkle inclusion proof for one chunk. The proof's leafHash is the domain-separated leaf hash of that chunk. Callers can reproduce it with merkleLeafHash(chunks[leafIndex]).
Parameters
chunks
leafIndex
number