Skip to main content

childstate_getStorageSize RPC Method

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

Updated on
Apr 01, 2026

Parameters

PrefixedStorageKey
string
REQUIRED

The prefix of the storage entry key you want to retrieve from the child storage

StorageKey
string
REQUIRED

The key under which the child storage entry is stored

Hash
string

The hash of a specific block in the chain

Returns

u64
string

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

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": 4,
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": 4,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free