[#ParseConfirmTarget]
= ParseConfirmTarget
:mrdocs:

Parse a confirm target option and raise an RPC error if it is invalid&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned int
ParseConfirmTarget(
    xref:UniValue.adoc[UniValue] const& value,
    unsigned int max&lowbar;target);
----

== Return Value

The parsed confirmation target in blocks&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The confirmation target as a JSON number&period;
| *max&lowbar;target*
| The maximum allowed confirmation target&period;
|===


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