Type alias RpcResp_ok<method_s, result_t>
RpcResp_ok<method_s, result_t>: { jsonrpc: "2.0"; id: number | string; method: method_s; result: result_t }
Type Parameters
-
method_s extends string
-
result_t extends any
Type declaration
-
jsonrpc: "2.0"
-
id: number | string
-
method: method_s
-
result: result_t
This is the shape of successful responses
Example