Skip to main content

childstate_getStorageHash RPC method

Returns the hash of a child storage entry at a block state.

Parameters

PrefixedStorageKey string REQUIRED

The prefix of the keys you want to retrieve from the child storage

StorageKey string REQUIRED

An array of strings representing the keys under which the child storage entries are stored

Hash string

TThe hash of a specific block in the chain

Returns

Hash array

An array containing the hash of the child storage entry with the specified 'PrefixedStorageKey' and 'StorageKey'

Code Examples

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