Parse a confirm target option and raise an RPC error if it is invalid.
Declared in <rpc/util.h>
unsigned int
ParseConfirmTarget(
UniValue const& value,
unsigned int max_target);
The parsed confirmation target in blocks.
| Name | Description |
|---|---|
| value | The confirmation target as a JSON number. |
| max_target | The maximum allowed confirmation target. |