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

Parameters that filter which coins are considered available for spending&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct CoinFilterParams;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:wallet/CoinFilterParams/check_version_trucness.adoc[`check&lowbar;version&lowbar;trucness`] 
| When true, filter unconfirmed coins by whether their version&apos;s TRUCness matches what is set by CCoinControl&period;
| xref:wallet/CoinFilterParams/include_immature_coinbase.adoc[`include&lowbar;immature&lowbar;coinbase`] 
| By default, do not include immature coinbase outputs&period;
| xref:wallet/CoinFilterParams/max_amount.adoc[`max&lowbar;amount`] 
| Outputs above the maximum amount will not get selected&period;
| xref:wallet/CoinFilterParams/max_count.adoc[`max&lowbar;count`] 
| Maximum number of outputs that can be returned&period;
| xref:wallet/CoinFilterParams/min_amount.adoc[`min&lowbar;amount`] 
| Outputs below the minimum amount will not get selected&period;
| xref:wallet/CoinFilterParams/min_sum_amount.adoc[`min&lowbar;sum&lowbar;amount`] 
| Return outputs until the minimum sum amount is covered&period;
| xref:wallet/CoinFilterParams/skip_locked.adoc[`skip&lowbar;locked`] 
| By default, skip locked UTXOs&period;
|===



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