Trait ethcore::client::Nonce
[−]
[src]
pub trait Nonce { fn nonce(&self, address: &Address, id: BlockId) -> Option<U256>; fn latest_nonce(&self, address: &Address) -> U256 { ... } }
Provides nonce
and latest_nonce
methods
Required Methods
fn nonce(&self, address: &Address, id: BlockId) -> Option<U256>
Attempt to get address nonce at given block. May not fail on BlockId::Latest.
Provided Methods
fn latest_nonce(&self, address: &Address) -> U256
Get address nonce at the latest block's state.
Implementors
impl Nonce for Client
impl Nonce for TestBlockChainClient