Function simfony_as_rust::jet::signature_hash_modes::tx_hash
source ยท pub fn tx_hash() -> u256Expand description
Return a SHA256 hash of the following:
- The result of
version(Note: this is in big endian format) (4 bytes). - The result of
tx_lock_time(Note: this is in big endian format) (4 bytes). - The result of
inputs_hash(32 bytes). - The result of
outputs_hash(32 bytes). - The result of
issuances_hash(32 bytes). - The result of
output_surjection_proofs_hash(32 bytes). - The result of
input_utxos_hash(32 bytes).