@ethereumjs/mpt / verifyMerkleProof
verifyMerkleProof(
key,proof,opts?):Promise<Uint8Array<ArrayBufferLike> |null>
Defined in: proof/proof.ts:16
Verify an EIP-1186 account or storage proof against an expected trie root.
Uint8Array
Key whose value is being proven (hashed when useKeyHashing is set)
Serialized trie nodes from root to leaf
Trie options (root, key hashing) used when reconstructing the proof trie
Promise<Uint8Array<ArrayBufferLike> | null>
Proven value, or null for a valid non-existence proof
If the proof is invalid