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

Returns the external output for the given outpoint if it exists&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;CTxOut&gt;
GetExternalOutput(xref:COutPoint.adoc[COutPoint] const& outpoint) const;
----

== Return Value

The previous output for the outpoint if it was provided as an external input&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *outpoint*
| The output to look up&period;
|===


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