[#wallet-CWallet-IsMine-05]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::IsMine
:relfileprefix: ../../
:mrdocs:

Report whether any output of a transaction belongs to this wallet&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e599368), requires&lowbar;capability(0x7f2e11aaa128), requires&lowbar;capability(0x7f2e169fff18), requires&lowbar;capability(0x7f2e15f2f3b8), requires&lowbar;capability(0x7f2e12c6e048)&rsqb;&rsqb;
bool
IsMine(xref:CTransaction.adoc[CTransaction] const& tx) const;
----

== Return Value

true if any output is owned by the wallet&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction to test&period;
|===


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