[#wallet-PreselectedInput] = xref:wallet.adoc[wallet]::PreselectedInput :relfileprefix: ../ :mrdocs: Holds the user‐supplied details for a single manually selected transaction input. == Synopsis Declared in `<wallet/coincontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class PreselectedInput; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/PreselectedInput/GetInputWeight.adoc[`GetInputWeight`] | Retrieve the input weight for this input. | xref:wallet/PreselectedInput/GetPosition.adoc[`GetPosition`] | Retrieve the position of this input. | xref:wallet/PreselectedInput/GetScripts.adoc[`GetScripts`] | Retrieve both the scriptSig and the scriptWitness. | xref:wallet/PreselectedInput/GetSequence.adoc[`GetSequence`] | Retrieve the sequence for this input. | xref:wallet/PreselectedInput/GetTxOut.adoc[`GetTxOut`] | Retrieve the previous output for this input. | xref:wallet/PreselectedInput/HasScripts.adoc[`HasScripts`] | Return whether either the scriptSig or scriptWitness are set for this input. | xref:wallet/PreselectedInput/HasTxOut.adoc[`HasTxOut`] | Return whether the previous output is set for this input. | xref:wallet/PreselectedInput/SetInputWeight.adoc[`SetInputWeight`] | Set the weight for this input. | xref:wallet/PreselectedInput/SetPosition.adoc[`SetPosition`] | Store the position of this input. | xref:wallet/PreselectedInput/SetScriptSig.adoc[`SetScriptSig`] | Set the scriptSig for this input. | xref:wallet/PreselectedInput/SetScriptWitness.adoc[`SetScriptWitness`] | Set the scriptWitness for this input. | xref:wallet/PreselectedInput/SetSequence.adoc[`SetSequence`] | Set the sequence for this input. | xref:wallet/PreselectedInput/SetTxOut.adoc[`SetTxOut`] | Set the previous output for this input. Only necessary if the input is expected to be an external input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#