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.

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

Code Examples

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