Trait client_traits::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>[src]

Attempt to get address nonce at given block. May not fail on BlockId::Latest.

Loading content...

Provided methods

fn latest_nonce(&self, address: &Address) -> U256[src]

Get address nonce at the latest block’s state.

Loading content...

Implementors

Loading content...