RpcResponse
Represents the response from a RPC server.
This could be any sort of data which is why RpcResponse defaults to unknown. You may
use a type parameter to specify the shape of the response — e.g.
RpcResponse<{ result: number }>.
Type Parameters
| Type Parameter | Default type |
|---|---|
TResponse | unknown |