Skip to main content

childstate_getStorage RPC method

Returns a child storage entry at a specific block state.


PrefixedStorageKey string REQUIRED

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

StorageKey string REQUIRED

The key under which the child storage is stored

Hash string

The hash of a specific block in the chain


StorageData array

An array containing the data of the child storage entry with the specified PrefixedStorageKey

Code Examples

curl<API-KEY> \
-H "Content-Type: application/json" \
--data '{"method":"childstate_getStorage","params":["PrefixedStorageKey", "StorageKey"],"id":1,"jsonrpc":"2.0"}'