pub trait Nonce {
fn nonce(&self, address: &Address, id: BlockId) -> Option<U256>;
fn latest_nonce(&self, address: &Address) -> U256 { ... }
}
Expand description
Provides nonce
and latest_nonce
methods
Required methods
Provided methods
fn latest_nonce(&self, address: &Address) -> U256
fn latest_nonce(&self, address: &Address) -> U256
Get address nonce at the latest block’s state.