Skip to main content

state_getReadProof RPC method

Returns proof of storage entries at a specific block state.

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

Code Examples

curl https://api-polkadot.dwellir.com/<API-KEY> \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"state_getReadProof","params":[["0x1a736d37504c2e3fb73dad160c55b2918ee7418a6531173d60d1f6a82d8f4d51c16ee72ac33a6a9e5e887792c26526f9cc080000"], null],"id":1,"jsonrpc":"2.0"}'