• Create a JSONRPCRequest message

    Parameters

    • requestType: `${string}:${string}`

      Indicates what to do with the request

    • requestParams: RequestParams

      Parameters to pass along when the request is processed

    • requestId: RequestId

      Unique ID for this connection of this request

    Returns JSONRPCRequest

    JSONRPCRequest message that can be serialized and sent over a connection