darkfi_sdk::wasm::util

Function get_tx_hash

Source
pub fn get_tx_hash() -> GenericResult<TransactionHash>
Expand description

Only deploy(), metadata() and exec() can call this. Will return runtime configured transaction hash.

tx_hash = get_tx_hash();