Trait ethcore::client::Balance [] [src]

pub trait Balance {
    fn balance(&self, address: &Address, state: StateOrBlock) -> Option<U256>;

    fn latest_balance(&self, address: &Address) -> U256 { ... }
}

Provides balance and latest_balance methods

Required Methods

Get address balance at the given block's state.

May not return None if given BlockId::Latest. Returns None if and only if the block's root hash has been pruned from the DB.

Provided Methods

Get address balance at the latest block's state.

Implementors