Add childstate_getStorageEntries RPC (#3980)

* Add `childstate_getStorageEntries` RPC

* Remove extra ,
This commit is contained in:
Jaco
2021-09-20 20:33:30 +02:00
committed by GitHub
parent 26649c429a
commit 4ea170a83a
2 changed files with 27 additions and 0 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## master
Changes:
- Add `childstate_getStorageEntries` RPC
## 6.0.5 Sep 20, 2012
Upgrade priority: Low. Recommended for all users on 6.0.3 using `api.query.*.*.at` calls
@@ -78,6 +78,26 @@ export default {
],
type: 'Option<StorageData>'
},
getStorageEntries: {
description: 'Returns child storage entries for multiple keys at a specific block state',
params: [
{
name: 'childKey',
type: 'PrefixedStorageKey'
},
{
name: 'keys',
type: 'Vec<StorageKey>'
},
{
name: 'at',
type: 'Hash',
isHistoric: true,
isOptional: true
}
],
type: 'Vec<Option<StorageData>>'
},
getStorageHash: {
description: 'Returns the hash of a child storage entry at a block state',
params: [