Skip to main content

state_getKeys RPC Method - AssetHub

Returns the keys with prefix, leave empty to get all the keys.

Updated on
Jul 25, 2025

Parameters

prefix
string
REQUIRED

The prefix to filter keys. Leave empty to get all keys

hash
string

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

Returns

result
array

An array of storage keys

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