Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starknet.io/llms.txt

Use this file to discover all available pages before exploring further.

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.