@ethereumjs/mpt / createMPTFromProof
createMPTFromProof(
proof
,trieOpts?
):Promise
<MerklePatriciaTrie
>
Defined in: packages/mpt/src/constructors.ts:62
Create a trie from a given (EIP-1186)[https://eips.ethereum.org/EIPS/eip-1186] proof. A proof contains the encoded trie nodes from the root node to the leaf node storing state data.
an EIP-1186 proof to create trie from
trie opts to be applied to returned trie
Promise
<MerklePatriciaTrie
>
new trie created from given proof