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

Find non&hyphen;change parent output&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e652df8)&rsqb;&rsqb;
xref:CTxOut.adoc[CTxOut] const&
FindNonChangeParentOutput(
    xref:wallet/CWallet.adoc[CWallet] const& wallet,
    xref:COutPoint.adoc[COutPoint] const& outpoint);
----

== Return Value

The first non&hyphen;change parent output reached from the outpoint&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet used to walk back through parent transactions&period;
| *outpoint*
| The outpoint whose non&hyphen;change parent output is sought&period;
|===


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