input That Spends
Get outpoints that child transactions can use to spend the outputs of this transaction.
Return
The input needed to spend the output.
Parameters
index
Which output to spend.
dest
Provide or Override any existing destination with this. Without a correct destination, the system cannot sign the input.