@ethereumjs/mpt / updateMPTFromMerkleProof
updateMPTFromMerkleProof(
trie,proof,shouldVerifyRoot?):Promise<Uint8Array<ArrayBufferLike> |undefined>
Defined in: proof/proof.ts:55
Populate a trie from an EIP-1186 proof by batch-putting all proof nodes.
Trie to update (typically empty or sparse)
Serialized nodes from root to leaf
boolean = false
When true, require the first proof node’s hash to match trie.root()
Promise<Uint8Array<ArrayBufferLike> | undefined>
Root hash derived from the first proof node