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

Lock&hyphen;in the given output for spending&period; The output will be included in the transaction even if it&apos;s not the most optimal choice&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/PreselectedInput.adoc[PreselectedInput]&
Select(xref:COutPoint.adoc[COutPoint] const& outpoint);
----

== Return Value

A reference to the preselected input details for the outpoint&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *outpoint*
| The output to pre&hyphen;select&period;
|===


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