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
I'd like to iterate over parts of the content of a StorageDoubleMap. By now subxt generates me two different functions for accessing a double map: 1) Get one element by specifying the primary and the secondary key and 2) Iterate over all the elements in the map.
What I would actually want to do is to only specify the primary key and then iterate over all the entries that belong to this top level key.
Is there any other way of doing this, or am I missing something obvious?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello,
I'd like to iterate over parts of the content of a StorageDoubleMap. By now subxt generates me two different functions for accessing a double map: 1) Get one element by specifying the primary and the secondary key and 2) Iterate over all the elements in the map.
What I would actually want to do is to only specify the primary key and then iterate over all the entries that belong to this top level key.
Is there any other way of doing this, or am I missing something obvious?
Thanks in advance!
The text was updated successfully, but these errors were encountered: