Skip to main content

childstate_getKeys RPC Method - AssetHub

Returns the keys with prefix from a child storage, leave empty to get all the keys.

Updated on
Jul 25, 2025

Parameters

childStorageKey
string
REQUIRED

The child storage key

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 containing the keys with the specified prefix from the child storage

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