subxt-metadata-0.36.1 has been yanked.
A representation of the metadata provided by a substrate based node. This representation is optimized to be used by Subxt and related crates, and is independent of the different versions of metadata that can be provided from a node.
Typically, this will be constructed by either:
- Calling
Metadata::decode()given some metadata bytes obtained from a node (this uses [codec::Decode]). - Obtaining [
frame_metadata::RuntimeMetadataPrefixed], and then using.try_into()to convert it into [Metadata].