The JSON type expected for the argument.
Synopsis
Declared in <rpc/util.h>
enum class Type : int;
Members
Name |
Description |
|
A JSON object. |
|
A JSON array. |
|
A JSON string. |
|
A JSON number. |
|
A JSON boolean. |
|
Special type that behaves almost exactly like OBJ, defining an options object with a list of pre‐defined keys. The only difference between OBJ and OBJ_NAMED_PARAMS is that OBJ_NAMED_PARMS also allows the keys to be passed as top‐level named parameters, as a more convenient way to pass options to the RPC method without nesting them. |
|
Special type where the user must set the keys e.g. to define multiple addresses; as opposed to e.g. an options object where the keys are predefined |
|
Special type representing a floating point amount (can be either NUM or STR) |
|
Special type that is a STR with only hex chars |
|
Special type that is a NUM or [NUM,NUM] |
Created with MrDocs