[#GetDustThreshold]
= GetDustThreshold
:mrdocs:

Compute the minimum output value below which an output is considered dust&period;

== Synopsis

Declared in `&lt;policy&sol;policy&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CAmount.adoc[CAmount]
GetDustThreshold(
    xref:CTxOut.adoc[CTxOut] const& txout,
    xref:CFeeRate.adoc[CFeeRate] const& dustRelayFee);
----

== Return Value

Dust threshold in satoshis for the output&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txout*
| Output whose dust threshold is computed&period;
| *dustRelayFee*
| Fee rate used to define dust&period;
|===


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