Function darkfi_sdk::wasm::util::get_tx_location
source ยท pub fn get_tx_location(hash: &TransactionHash) -> GenericResult<(u32, u16)>
Expand description
Only metadata() and exec() can call this. Will return transaction location by provided hash.
(block_height, tx_index) = get_tx_location(hash)?;