[#wallet-PreselectedInput]
= xref:wallet.adoc[wallet]::PreselectedInput
:relfileprefix: ../
:mrdocs:

Holds the user&hyphen;supplied details for a single manually selected transaction input&period;

== Synopsis

Declared in `&lt;wallet&sol;coincontrol&period;h&gt;`

[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&period;
| xref:wallet/PreselectedInput/GetPosition.adoc[`GetPosition`] 
| Retrieve the position of this input&period;
| xref:wallet/PreselectedInput/GetScripts.adoc[`GetScripts`] 
| Retrieve both the scriptSig and the scriptWitness&period;
| xref:wallet/PreselectedInput/GetSequence.adoc[`GetSequence`] 
| Retrieve the sequence for this input&period;
| xref:wallet/PreselectedInput/GetTxOut.adoc[`GetTxOut`] 
| Retrieve the previous output for this input&period;
| xref:wallet/PreselectedInput/HasScripts.adoc[`HasScripts`] 
| Return whether either the scriptSig or scriptWitness are set for this input&period;
| xref:wallet/PreselectedInput/HasTxOut.adoc[`HasTxOut`] 
| Return whether the previous output is set for this input&period;
| xref:wallet/PreselectedInput/SetInputWeight.adoc[`SetInputWeight`] 
| Set the weight for this input&period;
| xref:wallet/PreselectedInput/SetPosition.adoc[`SetPosition`] 
| Store the position of this input&period;
| xref:wallet/PreselectedInput/SetScriptSig.adoc[`SetScriptSig`] 
| Set the scriptSig for this input&period;
| xref:wallet/PreselectedInput/SetScriptWitness.adoc[`SetScriptWitness`] 
| Set the scriptWitness for this input&period;
| xref:wallet/PreselectedInput/SetSequence.adoc[`SetSequence`] 
| Set the sequence for this input&period;
| xref:wallet/PreselectedInput/SetTxOut.adoc[`SetTxOut`] 
| Set the previous output for this input&period; Only necessary if the input is expected to be an external input&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
