Function block_number

Source
pub fn block_number() -> u64
Expand description

Get the block’s number

This value represents number of ancestor blocks. The genesis block has a number of zero.