darkfi_sdk::wasm::util

Function get_last_block_height

Source
pub fn get_last_block_height() -> GenericResult<Option<Vec<u8>>>
Expand description

Only exec() can call this. Will return last block height.

last_block_height = get_last_block_height();