Skip to main content

state_getStorageHash RPC Method

Retrieves the storage hash.

Updated on
Oct 4, 2023

state_getStorageHash RPC Method

Parameters

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

Returns

Hash
string
The storage hash associated with the specified storage key
Request
1
curl https://docs-demo.dot-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"state_getStorageHash","params":["0x06de3d8a54d27e44a9d5ce189618f22d4e7b9012096b41c4eb3aaf947f6ea429"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free