Skip to main content

GetSourceTransactionHash

Function GetSourceTransactionHash 

Source
pub fn GetSourceTransactionHash() -> Result<SHA256Hash, 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.

ยงOutputs

  • source_tx_hash

This is a convenience wrapper around uninit_GetSourceTransactionHash that returns the result as SyscallResult<T>.