UNPKG

@chainsafe/eth2.0-utils

Version:

Utilities required across multiple lodestar packages

7 lines (6 loc) 298 B
import { bytes32, Root } from "@chainsafe/eth2.0-types"; /** * Verify that the given ``leaf`` is on the merkle branch ``proof`` * starting with the given ``root``. */ export declare function verifyMerkleBranch(leaf: bytes32, proof: bytes32[], depth: number, index: number, root: Root): boolean;