Crate subxt_metadata

source ·
Expand description

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:

  1. Calling Metadata::decode() given some metadata bytes obtained from a node (this uses codec::Decode).
  2. Obtaining frame_metadata::RuntimeMetadataPrefixed, and then using .try_into() to convert it into Metadata.

Structs§

Enums§