hash For Signing Schnorr
fun hashForSigningSchnorr( tx: Transaction, inputIndex: Int, inputs: List<TxOut>, sighashType: Int, sigVersion: Int, executionData: Script.ExecutionData = Script.ExecutionData.empty): ByteVector32
Content copied to clipboard
Parameters
tx
transaction to sign
input Index
index of the transaction input being signed
inputs
UTXOs spent by this transaction
sighash Type
signature hash type
sig Version
signature version
execution Data
execution context of a transaction script