Function block_hash

Source
pub fn block_hash(block_number: u64) -> H256
Expand description

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