Skip to main content

childstate_getStorageSize RPC method

Returns the size of a child storage entry at a 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 entry is stored

Hash string

TThe hash of a specific block in the chain


u64 string

A string representing the size of the child storage entry with the specified 'PrefixedStorageKey' and 'StorageKey'

Code Examples

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