darkfi_sdk::wasm::util

Function get_call_index

Source
pub fn get_call_index() -> GenericResult<u8>
Expand description

Only deploy(), metadata() and exec() can call this. Will return runtime configured verifying block height.

call_idx = get_call_index();