Expand description
This module contains functions for decoding extrinsics.
- See
decode_extrinsic
for a general function to decode modern or historic extrinsics. - See
decode_extrinsic_current
for a helper to decode modern extrinsics.
Structs§
- Extrinsic
- Information about the extrinsic.
- Extrinsic
Call Info - Extrinsic call data information.
- Extrinsic
Extension Info - Extrinsic extension information.
- Extrinsic
Extensions - Information about the extrinsic signed extensions.
- Extrinsic
Info Arg - An argument with a name and type ID.
- Extrinsic
Signature - Information about the extrinsic signature.
- Extrinsic
Signature Info - Extrinsic signature information.
- Named
Arg - A single named argument.
Enums§
- Extrinsic
Decode Error - An error returned trying to decode extrinsic bytes.
- Extrinsic
Info Error - An error returned trying to access extrinsic type information.
- Extrinsic
Type - The type of the extrinsic.
Traits§
- Extrinsic
Type Info - This is implemented for all metadatas exposed from
frame_metadata
and is responsible for extracting the type IDs that we need in order to decode extrinsics.
Functions§
- decode_
extrinsic - Decode an extrinsic, returning information about it.
- decode_
extrinsic_ current - Decode an extrinsic in a modern runtime (ie one exposing V14+ metadata).
Type Aliases§
- Extrinsic
Owned - An owned variant of an Extrinsic (note: this may still contain references if the visitor used to decode the extrinsic contents holds onto any)