[#ParseFeeRate]
= ParseFeeRate
:mrdocs:

Parse a json number or string, denoting BTC&sol;kvB, into a CFeeRate (sat&sol;kvB)&period; Reject negative values or rates larger than 1BTC&sol;kvB&period;

== Synopsis

Declared in `&lt;rpc&sol;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CFeeRate.adoc[CFeeRate]
ParseFeeRate(xref:UniValue.adoc[UniValue] const& json);
----

== Return Value

The parsed fee rate&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *json*
| The fee rate as a JSON number or string&period;
|===


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