[#wallet-WalletTXO-2constructor]
= xref:wallet.adoc[wallet]::xref:wallet/WalletTXO.adoc[WalletTXO]::WalletTXO
:relfileprefix: ../../
:mrdocs:

Construct from a wallet transaction and one of its outputs&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
WalletTXO(
    xref:wallet/CWalletTx.adoc[CWalletTx] const& wtx,
    xref:CTxOut.adoc[CTxOut] const& output);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wtx*
| The wallet transaction owning the output&period;
| *output*
| One of the wallet transaction&apos;s outputs&period;
|===


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