Add support for childstate_getKeysPaged RPC (#3652)

* Add support for childstate_getKeysPaged RPC

* Optional last
This commit is contained in:
Jaco
2021-06-15 08:22:51 +02:00
committed by GitHub
parent 227143728d
commit 4a955f7b77
2 changed files with 31 additions and 0 deletions
@@ -28,6 +28,36 @@ export default {
],
type: 'Vec<StorageKey>'
},
getKeysPaged: {
alias: ['childstate_getKeysPagedAt'],
description: 'Returns the keys with prefix from a child storage with pagination support',
params: [
{
name: 'childKey',
type: 'PrefixedStorageKey'
},
{
name: 'prefix',
type: 'StorageKey'
},
{
name: 'count',
type: 'u32'
},
{
name: 'startKey',
type: 'StorageKey',
isOptional: true
},
{
name: 'at',
type: 'Hash',
isHistoric: true,
isOptional: true
}
],
type: 'Vec<StorageKey>'
},
getStorage: {
description: 'Returns a child storage entry at a specific block state',
params: [