Skip to main content

state_queryStorageAt RPC Method

Retrieve storage entries, using the provided key, starting from the specified block hash given as the second parameter.

Updated on
Oct 4, 2023

state_queryStorageAt RPC Method

Parameters

StorageKey
array
REQUIRED
An array representing the key or keys for which you want to retrieve storage entries
BlockHash
string
The hash of a specific block in the chain

Returns

StorageChangeSet
array
An array representing the set of changes to the storage entries starting from the specified block hash. Each element of the array corresponds to a storage entry change
block
string
The block hash where the storage change occurred
changes
array
An array that contains the specific changes made to the storage entries in the given block
Request
1
curl https://docs-demo.dot-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"state_queryStorageAt","params":[["0x1a736d37504c2e3fb73dad160c55b2918ee7418a6531173d60d1f6a82d8f4d51c16ee72ac33a6a9e5e887792c26526f9cc080000"]],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free