ink_env

Function block_number

source
pub fn block_number<E>() -> E::BlockNumber
where E: Environment,
Expand description

Returns the current block number.

ยงErrors

If the returned value cannot be properly decoded.