import { CreateAxiosDefaults } from 'axios'; export type RpcResponse = { jsonrpc: string; result: T; id: number; }; export type RPCParams

= { method: string; params: P; }; export interface RPCConfig extends Omit { url: string; } declare class RPC { config: RPCConfig; version: string; private instance; constructor(config: RPCConfig, version?: string); rpcCall

[] = RPCParams

[], R = any>(params: Params): Promise | RpcResponse[]>; rpcBatchCall

[] = RPCParams

[], R = any>(params: Params): Promise[]>; } export default RPC;