Verify
Function to verify proof
This function uses Merkle Patricia Trie (MPT) to verify the proof.
function verify(
bytes memory message
) public returns (bool, bytes[] memory);Field
Description
message
Data encoded with proof information (You can get an array of Proof when you decode)
What the verify function does:
Verify account proof using MPT to obtain the target storage hash
Verify the storage proof using MPT to obtain the value of the target storage slot
Last updated