[][src]Function owasm_ethereum::block_hash

pub fn block_hash(block_number: u64) -> H256

Returns hash of the given block or H256::zero()

Only works for 256 most recent blocks excluding current Returns H256::zero() in case of failure