[#CCoinsViewCache-HaveInputs] = xref:CCoinsViewCache.adoc[CCoinsViewCache]::HaveInputs :relfileprefix: ../ :mrdocs: Check whether all prevouts of the transaction are present in the UTXO set represented by this view == Synopsis Declared in `<coins.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool HaveInputs(xref:CTransaction.adoc[CTransaction] const& tx) const; ---- == Return Value True if every input prevout is unspent in this view. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | Transaction whose inputs to check. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#