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

Report whether this group passes an eligibility filter&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
EligibleForSpending(xref:wallet/CoinEligibilityFilter.adoc[CoinEligibilityFilter] const& eligibility&lowbar;filter) const;
----

== Return Value

True if the group is eligible for spending under the filter&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *eligibility&lowbar;filter*
| The filter to test against&period;
|===


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