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