Module storage

Source
Expand description

Types associated with accessing and working with storage items.

Structs§

DefaultAddress
A concrete storage address. This can be created from static values (ie those generated via the subxt macro) or dynamic values via dynamic.
StaticStorageKey
A storage key used as part of the static codegen.
Storage
Query the runtime storage.
StorageClient
Query the runtime storage.
StorageKeyValuePair
A pair of keys and values together with all the bytes that make up the storage address. keys is None if non-concat hashers are used. In this case the keys could not be extracted back from the key_bytes.

Traits§

Address
This represents a storage address. Anything implementing this trait can be used to fetch and iterate over storage entries.
StorageKey
This trait should be implemented by anything that can be used as one or multiple storage keys.

Functions§

dynamic
Construct a new dynamic storage lookup.

Type Aliases§

DynamicAddress
A typical storage address constructed at runtime rather than via the subxt macro; this has no restriction on what it can be used for (since we don’t statically know).
StaticAddress
A storage address constructed by the static codegen.