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

Returns whether all of the inputs belong to the wallet

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
AllInputsMine(
    xref:wallet/CWallet.adoc[CWallet] const& wallet,
    xref:CTransaction.adoc[CTransaction] const& tx);
----

== Return Value

true if every input spends an output owned by the wallet&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet to check ownership against&period;
| *tx*
| The transaction whose inputs are checked&period;
|===


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