import { type RawRpcType } from "https://deno.land/x/polkadot@0.2.30/api-base/types/rpc.ts";
Type Parameters
ApiType extends ApiTypes
definition: (method: string, ...params: unknown[]) => ApiType extends "rxjs" ? Observable<AnyJson> : Promise<AnyJson>