pub fn raw_GetSourceTransactionHash(
source_tx_hash: &mut SHA256Hash,
) -> Result<(), SysErr>Expand description
Returns the hash of the transaction that initiated the current execution: sha256 of the XDR-encoded Transaction, the same TransactionHash that identifies it network-wide.
§Arguments
§Inputs
- None
§Outputs
The following parameters are written by the syscall only if it returns kSyscallErrorCodeNone. A span output then has only its first min(len, written_len) bytes written:
source_tx_hash
This is the raw_GetSourceTransactionHash variant that wraps uninit_GetSourceTransactionHash.
It converts regular output types to MaybeUninit and calls uninit_GetSourceTransactionHash.