Expand description
This module provides the entry points to create dynamic transactions, storage and constant lookups.
Re-exports§
pub use crate::tx::payload::dynamic as tx;pub use crate::constants::address::dynamic as constant;pub use crate::storage::address::dynamic as storage;pub use crate::runtime_api::payload::dynamic as runtime_api_call;
Structs§
- This is the result of making a dynamic request to a node. From this, we can return the raw SCALE bytes that we were handed back, or we can complete the decoding of the bytes into a
DecodedValuetype. Valueholds a representation of some value that has been decoded, as well as some arbitrary context.
Traits§
- This trait allows indexing into
Values (and options ofValues) using theAt::at()function. It’s a little like Rust’s::std::ops::Indextrait, but adapted so that we can return and work with optionals.
Type Aliases§
- A
scale_value::Valuetype endowed with contextual information regarding what type was used to decode each part of it. This implementscrate::metadata::DecodeWithMetadata, and is used as a return type for dynamic requests.