Skip to main content

state_getStorageSize RPC Method

Retrieves the storage size.

Updated on
Oct 04, 2023

Parameters

StorageKey
string
REQUIRED

The key for which you want to retrieve the storage size

BlockHash
string

The hash of a specific block in the chain

Returns

u64
number | string

The storage size in bytes associated with the specified storage key

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