Trait client_traits::BlockInfo [−][src]
Provides various information on a block by it’s ID
Required methods
fn block_header(&self, id: BlockId) -> Option<Header>
[src]
Get raw block header data by block id.
fn best_block_header(&self) -> Header
[src]
Get the best block header.
fn block(&self, id: BlockId) -> Option<Block>
[src]
Get raw block data by block header hash.
fn code_hash(&self, address: &Address, id: BlockId) -> Option<H256>
[src]
Get address code hash at given block’s state.