[#wallet-PreselectedInput-SetTxOut] = xref:wallet.adoc[wallet]::xref:wallet/PreselectedInput.adoc[PreselectedInput]::SetTxOut :relfileprefix: ../../ :mrdocs: Set the previous output for this input. Only necessary if the input is expected to be an external input. == Synopsis Declared in `<wallet/coincontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetTxOut(xref:CTxOut.adoc[CTxOut] const& txout); ---- == Parameters [cols="1,4"] |=== | Name| Description | *txout* | The previous output being spent by this input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#