create_signature_hash
Create a signature hash for transaction signing using ByteArray
Arguments
transaction_data- The transaction data to be signedsighash_type- The type of signature hash (SIGHASH_ALL, etc.)
Returns
u256- The hash to be signed
Fully qualified path: alexandria_btc::legacy_signature::create_signature_hash
pub fn create_signature_hash(transaction_data: Span<u8>, sighash_type: u8) -> u256