JsonRpcRequest
JsonRpcRequest<
TMethod,TParams>:object&TParamsextends readonly [] ?object:object
Helper type for creating JSON-RPC request types
Type declaration
id?
readonlyoptionalid:string|number|null
jsonrpc
readonlyjsonrpc:"2.0"
method
readonlymethod:TMethod
Type Parameters
• TMethod extends string
• TParams