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

`IsMine` overloads

== Synopses

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

Report whether an outpoint belongs to this wallet&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05ed8), requires&lowbar;capability(0x7f95061a8c18), requires&lowbar;capability(0x7f94f2b79728), requires&lowbar;capability(0x7f94f0cf83b8), requires&lowbar;capability(0x7f94fee3ada8)&rsqb;&rsqb;
bool
xref:wallet/CWallet/IsMine-0a.adoc[IsMine](xref:COutPoint.adoc[COutPoint] const& outpoint) const;
----

[.small]#xref:wallet/CWallet/IsMine-0a.adoc[_» more&period;&period;&period;_]#

Report whether a script belongs to this wallet&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05c98), requires&lowbar;capability(0x7f95061a89d8), requires&lowbar;capability(0x7f94f2b794e8), requires&lowbar;capability(0x7f94f0cf8178), requires&lowbar;capability(0x7f94fee3ab68)&rsqb;&rsqb;
bool
xref:wallet/CWallet/IsMine-088.adoc[IsMine](xref:CScript.adoc[CScript] const& script) const;
----

[.small]#xref:wallet/CWallet/IsMine-088.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05e18), requires&lowbar;capability(0x7f95061a8b58), requires&lowbar;capability(0x7f94f2b79668), requires&lowbar;capability(0x7f94f0cf82f8), requires&lowbar;capability(0x7f94fee3ace8)&rsqb;&rsqb;
bool
xref:wallet/CWallet/IsMine-05.adoc[IsMine](xref:CTransaction.adoc[CTransaction] const& tx) const;
----

[.small]#xref:wallet/CWallet/IsMine-05.adoc[_» more&period;&period;&period;_]#

Report whether a destination belongs to this wallet&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05bd8), requires&lowbar;capability(0x7f95061a8918), requires&lowbar;capability(0x7f94f2b79428), requires&lowbar;capability(0x7f94f0cf80b8), requires&lowbar;capability(0x7f94fee3aaa8)&rsqb;&rsqb;
bool
xref:wallet/CWallet/IsMine-0e.adoc[IsMine](xref:CTxDestination.adoc[CTxDestination] const& dest) const;
----

[.small]#xref:wallet/CWallet/IsMine-0e.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05d58), requires&lowbar;capability(0x7f95061a8a98), requires&lowbar;capability(0x7f94f2b795a8), requires&lowbar;capability(0x7f94f0cf8238), requires&lowbar;capability(0x7f94fee3ac28)&rsqb;&rsqb;
bool
xref:wallet/CWallet/IsMine-01.adoc[IsMine](xref:CTxOut.adoc[CTxOut] const& txout) const;
----

[.small]#xref:wallet/CWallet/IsMine-01.adoc[_» more&period;&period;&period;_]#

== Return Value

* true if the outpoint is owned by the wallet&period;
* true if the script is owned by the wallet&period;
* true if any output is owned by the wallet&period;
* true if the destination is owned by the wallet&period;
* true if the output is owned by the wallet&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *outpoint*
| The outpoint to test&period;
| *script*
| The script to test&period;
| *tx*
| The transaction to test&period;
| *dest*
| The destination to test&period;
| *txout*
| The output to test&period;
|===


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