[][src]Function ontio_std::runtime::block_height

pub fn block_height() -> u32

Get current block height

Example

let res = runtime::block_height();