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§
sourcefn 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 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.
Object Safety§
This trait is not object safe.