The URL of the JSON-RPC server.
Optional
config: RequestorJsonRpcConfigOptional
onError: (err: unknown) => void | Promise<void>Returns the URL of the JSON-RPC server.
The URL of the JSON-RPC server.
request a JSON-RPC method.
The JSON-RPC method.
Params for the method.
Optional
inTransformers: (undefined | ((_: any) => unknown))[]An array of input transformers.
Optional
outTransformer: (_: any) => unknownAn output transformer function.
Method response.
Builds a JSON-RPC payload for the given method and parameters.
The JSON-RPC method name.
The parameters for the JSON-RPC method.
The JSON-RPC payload.
Creates an instance of ClientJsonRpc.