Skip to main content

childstate_getKeys RPC Method

Returns the keys with a specified prefix from child storage. If no prefix is provided, it will return all the keys in the child storage.

Updated on
Oct 04, 2023

Parameters

PrefixedStorageKey
string
REQUIRED

The prefix of the keys you want to retrieve from the child storage

StorageKey
string
REQUIRED

The key under which the child storage is stored

Hash
string

The hash of a specific block in the chain

Returns

StorageKey
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