JSONRPCResponse

@Serializable
class JSONRPCResponse(val id: RequestId, val jsonrpc: String = JSONRPC_VERSION, val result: RequestResult? = null, val error: JSONRPCError? = null) : JSONRPCMessage(source)

A successful (non-error) response to a request.

Constructors

Link copied to clipboard
constructor(id: RequestId, jsonrpc: String = JSONRPC_VERSION, result: RequestResult? = null, error: JSONRPCError? = null)

Properties

Link copied to clipboard
val error: JSONRPCError? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val result: RequestResult? = null