[#wallet-InputIsMine] = xref:wallet.adoc[wallet]::InputIsMine :relfileprefix: ../ :mrdocs: Returns whether the output spent by an input belongs to the wallet. == Synopsis Declared in `<wallet/receive.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e11afabf8)]] bool InputIsMine( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:CTxIn.adoc[CTxIn] const& txin); ---- == Return Value true if the spent output is owned by the wallet. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet to check ownership against. | *txin* | The input whose previous output is checked. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#