Crate desub_current[][src]

Expand description

A crate to decode extrinsics, signer payloads and storage keys for substrate nodes using V14+ metadata. See decoder for more information.

Re-exports

pub use metadata::Metadata;
pub use value::Value;
pub use value::ValueDef;
pub use scale_info;

Modules

Given some Metadata obtained from a substrate node, this module exposes the functionality to decode various SCALE encoded values, such as extrinsics, that are compatible with that metadata.

Decode SCALE encoded metadata from a substrate node into a format that we can make use of for decoding (see crate::decoder).

This module exposes the Value type and related subtypes, which are used as the runtime representations of SCALE encoded data (much like serde_json::Value is a runtime representation of JSON data).

Structs

This represents the ID of a type found in the metadata. A scale info type representation can be converted into this, and we get this back directly when decoding types into Values.

Type Definitions

A re-export of scale_info::Type as used throughout this library.