RPCResult::Type

The JSON type of the result field.

Synopsis

Declared in <rpc/util.h>

enum class Type : int;

Members

NameDescription
OBJ A JSON object.
ARR A JSON array.
STR A JSON string.
NUM A JSON number.
BOOL A JSON boolean.
NONE No result (null).
ANY Special type to disable type checks
STR_AMOUNT Special string to represent a floating point amount
STR_HEX Special string with only hex chars
OBJ_DYN Special dictionary with keys that are not literals
ARR_FIXED Special array that has a fixed number of entries
NUM_TIME Special numeric to denote unix epoch time