referrerpolicy=no-referrer-when-downgrade
sp_runtime::traits

Trait ExtrinsicMetadata

Source
pub trait ExtrinsicMetadata {
    type TransactionExtensions;

    const VERSIONS: &'static [u8];
}
Expand description

Implementor is an Extrinsic and provides metadata about this extrinsic.

Required Associated Constants§

Source

const VERSIONS: &'static [u8]

The format versions of the Extrinsic.

By format we mean the encoded representation of the Extrinsic.

Required Associated Types§

Source

type TransactionExtensions

Transaction extensions attached to this Extrinsic.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Address, Call: Dispatchable, Signature, Extension: TransactionExtension<Call>> ExtrinsicMetadata for UncheckedExtrinsic<Address, Call, Signature, Extension>

Source§

const VERSIONS: &'static [u8] = _

Source§

type TransactionExtensions = Extension

impl<Address, Signature, E: EthExtra> ExtrinsicMetadata for UncheckedExtrinsic<Address, Signature, E>