The URL of the JSON-RPC server.
Optionalconfig: RequestorJsonRpcConfigOptionalonError: (err: unknown) => void | Promise<void>Use RequestorJsonRpc.new with a borrowed Transport or RequestorJsonRpc.open when creating Transports.
Returns the URL of the JSON-RPC server.
The URL of the JSON-RPC server.
URL belongs to Transport construction and is unavailable for Requestors created with RequestorJsonRpc.new.
StaticnewCreates a Requestor that borrows an existing Transport.
StaticopenOpens a Requestor with ownership of its default transports.
request a JSON-RPC method.
The JSON-RPC method.
Params for the method.
OptionalinTransformers: (((_: any) => unknown) | undefined)[]
An array of input transformers.
OptionaloutTransformer: (_: any) => unknown
An 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 a Requestor using legacy positional arguments.