JSONRPCRequest
data class JSONRPCRequest<out P>(val id: RequestId?, val method: String, val params: P? = null) : JSONRPCMessage<P> (source)
A JSON-RPC 2.0 request that expects a response from the server.
The id field correlates this request with its JSONRPCResponse.
Type Parameters
P
The type of the params field.