Trait ethcore::client::BlockInfo [] [src]

pub trait BlockInfo {
    fn block_header(&self, id: BlockId) -> Option<Header>;
fn best_block_header(&self) -> Header;
fn block(&self, id: BlockId) -> Option<Block>;
fn code_hash(&self, address: &Address, id: BlockId) -> Option<H256>; }

Provides various information on a block by it's ID

Required Methods

Get raw block header data by block id.

Get the best block header.

Get raw block data by block header hash.

Get address code hash at given block's state.

Implementors