Expand description
Helpers to build parameters for a JSON-RPC request.
Macros§
- params
- Construct positional/array parameters for a JSON-RPC Call.
Structs§
- Array
Params - Parameter builder to build valid “array” or “unnamed” JSON-RPC parameters.
This is the equivalent of a JSON array like
[ value0, value1, .., valueN ]. - Object
Params - Parameter builder to build valid “object or “named” parameters.
This is the equivalent of a JSON Map object
{ key: value }.
Traits§
- Into
RpcParams - 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.