Skip to main content

GetBlockHeight

Function GetBlockHeight 

Source
pub fn GetBlockHeight() -> Result<BlockHeight, SysErr>
Expand description

Returns the current block height.

ยงOutputs

  • result

This is a convenience wrapper around uninit_GetBlockHeight that returns the result as SyscallResult<T>.