Function near_sys::block_height

source ·
pub unsafe fn block_height() -> u64
Expand description

Alias for block_index function. Returns the height of the current block.

Safety

This function relies on the external implementation of block_index.