Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/lucid/src/utils/mod.ts>MerkleTree.verify

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Go to Latest
method MerkleTree.verify
import { MerkleTree } from "https://deno.land/x/lucid@0.8.1/src/utils/mod.ts";

Parameters

data: Uint8Array
rootHash: Hash
proof: MerkleTreeProof

Returns

boolean