getSigningMessageForInput
fun getSigningMessageForInput(inputs: List<UtxoSpend>, outputs: List<UtxoOutput>, inputIndex: Int, ttl: Long): String?
Public API: Get signing message for a specific input.
This is the data that MUST be signed for the transaction to be valid on-chain.
IMPORTANT: This function also stores the binding_commitment internally, which will be used when calling serialize(). You must call this before serialize()!
Return
Hex-encoded signing message, or null on error
Parameters
inputs
List of UtxoSpend (inputs to the transaction)
outputs
List of UtxoOutput (outputs from the transaction)
inputIndex
Which input to sign (0-based)
ttl
Transaction time-to-live (milliseconds since epoch)