Function pwasm_std::ext::block_hash
[−]
[src]
pub fn block_hash(block_number: u64) -> Result<H256, Error>
Returns the hash of one of the 256 most recent complete blocks.
Errors
In fact, this function doesn't return an error. In case of error this
function will return H256::zero().