[#wallet-CWallet-GetTXO] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetTXO :relfileprefix: ../../ :mrdocs: Look up a single wallet output by outpoint. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1e597ab8), requires_capability(0x7f2e11aa8878), requires_capability(0x7f2e169fe668), requires_capability(0x7f2e15f2db08), requires_capability(0x7f2e12c6c798)]] std::optional<WalletTXO> GetTXO(xref:COutPoint.adoc[COutPoint] const& outpoint) const; ---- == Return Value The wallet output, or nullopt if not owned. == Parameters [cols="1,4"] |=== | Name| Description | *outpoint* | The outpoint to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#