@ethereumjs/binarytree / verifyBinaryProof
verifyBinaryProof(
rootHash,key,proof):Promise<Uint8Array<ArrayBufferLike> |null>
Defined in: proof.ts:36
Verify a binary tree proof for key against rootHash.
Uint8Array
Expected tree root
Uint8Array
Full 32-byte key (stem + suffix)
Uint8Array<ArrayBufferLike>[]
Serialized nodes along the key path
Promise<Uint8Array<ArrayBufferLike> | null>
Proven value, or null for a valid non-existence proof
If the proof is invalid