Docs

state_getStorageSizeAt - JSON-RPC Method

Get the byte length of a storage value for a key at a given block on Bittensor.

Description

Read SCALE‑encoded storage for a key (optionally at a specific block). Use to fetch on‑chain state deterministically and to implement historical reads.

Returns the size (in bytes) of the storage value for the key at the given block.

Code Examples