Trait sp_runtime::traits::ExtrinsicMetadata

source ·
pub trait ExtrinsicMetadata {
    type SignedExtensions: SignedExtension;

    const VERSION: u8;
}
Expand description

Implementor is an Extrinsic and provides metadata about this extrinsic.

Required Associated Types§

source

type SignedExtensions: SignedExtension

Signed extensions attached to this Extrinsic.

Required Associated Constants§

source

const VERSION: u8

The format version of the Extrinsic.

By format is meant the encoded representation of the Extrinsic.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Address, Call, Signature, Extra> ExtrinsicMetadata for UncheckedExtrinsic<Address, Call, Signature, Extra>
where Extra: SignedExtension,

source§

const VERSION: u8 = 4u8

§

type SignedExtensions = Extra

source§

impl<Call, Extra> ExtrinsicMetadata for TestXt<Call, Extra>
where Call: Codec + Sync + Send, Extra: SignedExtension<AccountId = u64, Call = Call>,

§

type SignedExtensions = Extra

source§

const VERSION: u8 = 0u8