pub trait Params<T: Config> {
// Provided methods
fn inject_account_nonce(&mut self, _nonce: u64) { ... }
fn inject_block(&mut self, _number: u64, _hash: HashFor<T>) { ... }
}Expand description
The parameters (ie ExtrinsicParams::Params) can also have data injected into them,
allowing Subxt to retrieve data from the chain and amend the parameters with it when
online.
Provided Methods§
Sourcefn inject_account_nonce(&mut self, _nonce: u64)
fn inject_account_nonce(&mut self, _nonce: u64)
Set the account nonce.
Sourcefn inject_block(&mut self, _number: u64, _hash: HashFor<T>)
fn inject_block(&mut self, _number: u64, _hash: HashFor<T>)
Set the current block.