RpcRequestTransformer

type RpcRequestTransformer = <TParams>(request) => RpcRequest;

A function that accepts a RpcRequest and returns another RpcRequest.

This allows the RpcApi to transform the request before it is sent to the RPC server.

Type Parameters

Type Parameter
TParams

Parameters

ParameterType
requestRpcRequest<TParams>

Returns

RpcRequest

On this page