Function pwasm_std::ext::block_number [] [src]

pub fn block_number() -> u64

Get the block's number.

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