You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
It would be very useful to be able to fetch an unknown quantity of elements as is done on polkadot.js, perhaps even implementing some kind of pagination. I am available for further details or necessary tests.
The text was updated successfully, but these errors were encountered:
The ability to retrieve the entire map could be a foot gun. In the interest of explicit control over the retrieval size, we'll opt for a StorageRuneentryPage method to complement keyPage. This will be complemented by #567.
Feature Request
I have the following FRAME Storage Item: A StorageMap with an id as key and a struct as a value.
It's very easy to fetch a single value using Capi:
On polkadot.js you can also omit the key and get back all the content of the storage item. e.g.
I'm trying to replicate the same behaviour using Capi, without success. I tried:
but the parameter of the
entry(...)
method should be a[number] | Rune<[number], never>
.I also tried
But I'm getting
undefined
as result.It would be very useful to be able to fetch an unknown quantity of elements as is done on polkadot.js, perhaps even implementing some kind of pagination. I am available for further details or necessary tests.
The text was updated successfully, but these errors were encountered: