[#CRPCCommand-argNames]
= xref:CRPCCommand.adoc[CRPCCommand]::argNames
:relfileprefix: ../
:mrdocs:

List of method arguments and whether they are named&hyphen;only&period; Incoming RPC requests contain a &quot;params&quot; field that can either be an array containing unnamed arguments or an object containing named arguments&period; The &quot;argNames&quot; vector is used in the latter case to transform the params object into an array&period; Each argument in &quot;argNames&quot; gets mapped to a unique position in the array, based on the order it is listed, unless the argument is a named&hyphen;only argument with argNames&lsqb;x&rsqb;&period;second set to true&period; Named&hyphen;only arguments are combined into a JSON object that is appended after other arguments, see transformNamedArguments for details&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;std::pair&lt;std::string, bool&gt;&gt; argNames;
----


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