hashForSigningSchnorr

fun hashForSigningSchnorr(    tx: Transaction,     inputIndex: Int,     inputs: List<TxOut>,     sighashType: Int,     sigVersion: Int,     executionData: Script.ExecutionData = Script.ExecutionData.empty): ByteVector32

Parameters

tx

transaction to sign

inputIndex

index of the transaction input being signed

inputs

UTXOs spent by this transaction

sighashType

signature hash type

sigVersion

signature version

executionData

execution context of a transaction script