export interface RpcClient { call(method: string, params?: unknown[]): Promise batchCall(batch: {method: string, params?: unknown[]}[]): Promise } export interface Chain { readonly client: RpcClient }