Type Definition subxt::dynamic::DecodedValue

source ·
pub type DecodedValue = Value<TypeId>;
Expand description

A scale_value::Value type endowed with contextual information regarding what type was used to decode each part of it. This implements crate::metadata::DecodeWithMetadata, and is used as a return type for dynamic requests.

Trait Implementations§

The type that we’ll get back from decoding.
Given some metadata and a type ID, attempt to SCALE decode the provided bytes into Self.
Decode a storage item using metadata. By default, this uses the metadata to work out the type ID to use, but for static items we can short circuit this lookup. Read more