[#RPCArg-2constructor-02] = xref:RPCArg.adoc[RPCArg]::RPCArg :relfileprefix: ../ :mrdocs: Construct a composite argument (array or object) with inner arguments. == Synopsis Declared in `<rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- RPCArg( std::string name, xref:RPCArg/Type.adoc[Type] type, xref:RPCArg/Fallback.adoc[Fallback] fallback, std::string description, std::vector<RPCArg> inner, xref:RPCArgOptions.adoc[RPCArgOptions] opts = {}); ---- == Parameters [cols="1,4"] |=== | Name| Description | *name* | The argument name, or aliases separated by '|'. | *type* | The expected JSON type (an array or object type). | *fallback* | Default value or optionality of the argument. | *description* | Human‐readable description of the argument. | *inner* | The arguments nested inside this array or object. | *opts* | Additional options controlling validation and rendering. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#