function · Browser and Node
verifyPath
True if leaf at path.index with path.siblings gives root.
@toip-tools/anon-membershipView sourceimport { verifyPath } from "@toip-tools/anon-membership";
Declaration
verifyPath(leaf: Field, path: MerklePath, root: Field): boolean;
Parameters
leafrequiredbigintpathrequiredMerklePathrootrequiredbigint
Returns
boolean