Expand description
Submit dynamic transactions.
Structs§
- Decoded
Value Thunk - 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. - Value
Valueholds a representation of some value that has been decoded, as well as some arbitrary context.
Traits§
- At
- This trait allows indexing into
Values (and options ofValues) using theAt::at()function. It’s a little like Rust’score::ops::Indextrait, but adapted so that we can return and work with optionals.
Functions§
- constant
- Construct a new dynamic constant lookup.
- runtime_
api_ call - Create a new
DynamicPayload. - storage
- Construct a new dynamic storage lookup.
- tx
- Construct a transaction at runtime; essentially an alias to
DefaultPayload::new()which provides aCompositevalue for the call data. - view_
function_ call - Create a new
DynamicPayloadto call a View Function.
Type Aliases§
- Decoded
Value - 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.