referrerpolicy=no-referrer-when-downgrade
pub trait SuffixedCommonTransactionExtensionExt<Suffix: TransactionExtensionSchema> {
    // Required methods
    fn from_params(
        spec_version: u32,
        transaction_version: u32,
        era: TransactionEra<BlockNumber, Hash>,
        genesis_hash: Hash,
        nonce: Nonce,
        tip: Balance,
        extra: (Suffix::Payload, Suffix::Implicit),
    ) -> Self;
    fn nonce(&self) -> Nonce;
    fn tip(&self) -> Balance;
}
Expand description

Helper trait to define some extra methods on SuffixedCommonTransactionExtension.

Required Methods§

source

fn from_params( spec_version: u32, transaction_version: u32, era: TransactionEra<BlockNumber, Hash>, genesis_hash: Hash, nonce: Nonce, tip: Balance, extra: (Suffix::Payload, Suffix::Implicit), ) -> Self

Create signed extension from its components.

source

fn nonce(&self) -> Nonce

Return transaction nonce.

source

fn tip(&self) -> Balance

Return transaction tip.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Suffix> SuffixedCommonTransactionExtensionExt<Suffix> for SuffixedCommonTransactionExtension<Suffix>
where Suffix: TransactionExtensionSchema,