Skip to main content

state_getStorageSize RPC Method - AssetHub

Returns the size of a storage entry at a specific key.

Updated on
Jul 25, 2025

Parameters

key
string
REQUIRED

The storage key to get the size for

hash
string

The block hash. If not provided, uses the latest block

Returns

result
number | string

The size of the storage entry if it exists

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free