Skip to main content

state_getReadProof RPC Method

Returns proof of storage entries at a specific block state.

Updated on
Oct 4, 2023

state_getReadProof RPC Method

Parameters

StorageKey
string
REQUIRED
The key for which you want to retrieve the storage entries proof
BlockHash
string
The hash of a specific block in the chain

Returns

result
object
An object containing information about the proof of storage entries:
at
string
The block state for which the proof is generated
proof
array
The actual proof data for the specified storage key. This proof can be used to verify the data's correctness and ensure that it hasn't been tampered with
Request
1
curl https://docs-demo.dot-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"state_getReadProof","params":[["0x1a736d37504c2e3fb73dad160c55b2918ee7418a6531173d60d1f6a82d8f4d51c16ee72ac33a6a9e5e887792c26526f9cc080000"], null],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free