Trait gclient::ext::sp_runtime::traits::ExtrinsicMetadata

pub trait ExtrinsicMetadata {
    type SignedExtensions: SignedExtension;

    const VERSION: u8;
}
Expand description

Implementor is an Extrinsic and provides metadata about this extrinsic.

Required Associated Types§

type SignedExtensions: SignedExtension

Signed extensions attached to this Extrinsic.

Required Associated Constants§

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§

§

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

§

const VERSION: u8 = 4u8

§

type SignedExtensions = Extra

§

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

§

type SignedExtensions = Extra

§

const VERSION: u8 = 0u8