Module params

Module params 

Source
Expand description

Helpers to build parameters for a JSON-RPC request.

Macros§

params
Construct positional/array parameters for a JSON-RPC Call.

Structs§

ArrayParams
Parameter builder to build valid “array” or “unnamed” JSON-RPC parameters. This is the equivalent of a JSON array like [ value0, value1, .., valueN ].
ObjectParams
Parameter builder to build valid “object or “named” parameters. This is the equivalent of a JSON Map object { key: value }.

Traits§

IntoRpcParams
A trait which is implemented for anything which can be turned into valid RPC parameters.

Type Aliases§

RpcParams
The RPC params we’ll return from our implementations of IntoRpcParams.