Skip to main content

state_getStorageSize RPC Method

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

Updated on
Jul 18, 2025

state_getStorageSize RPC Method

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
integer
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