Function darkfi_sdk::wasm::util::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();