Sets the transaction hash.

Signature

pub fn set_transaction_hash(hash: felt252)

Arguments

hash - The transaction hash to set. After a call to set_transaction_hash, starknet::get_execution_info().tx_info.transaction_hash will return the set value.