type JsonRpcPayload: { "id": number; "jsonrpc": "2.0"; "method": string; "params": any[] | Record<string, any>; };
A JSON-RPC payload, which are sent to a JSON-RPC server.
id: number;
The JSON-RPC request ID.
jsonrpc: "2.0";
A required constant in the JSON-RPC specification.
method: string;
The JSON-RPC request method.
params: any[] | Record<string, any>;
The JSON-RPC request parameters.
providers/provider-jsonrpc.ts:103
Was this page helpful?