Skip to main content

childstate_getKeysPaged RPC method

Returns the keys with prefix from a child storage with pagination support.


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

u132 integer REQUIRED

The maximum number of keys to return in a single page of results

StorageKey string

The key at which to start the page of results. If not provided, it will start from the beginning

Hash string

The hash of a specific block in the chain


StorageKey array

An array containing the keys with the specified prefix from the child storage

Code Examples

curl<API-KEY> \
-H "Content-Type: application/json" \
--data '{"method":"childstate_getKeysPaged","params":["PrefixedStorageKey", "StorageKey", "u32"],"id":1,"jsonrpc":"2.0"}'