import { rpcProvider } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { ScProvider } = rpcProvider;
Methods
clone(): ProviderInterface
connect(config?: ScType.Config, checkerFactory?): Promise<void>
disconnect(): Promise<void>
on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void
send<T = any>(method: string, params: unknown[]): Promise<T>
subscribe(): Promise<number | string>
type: string,
method: string,
params: any[],
callback: ProviderInterfaceCallback,
unsubscribe(): Promise<boolean>
type: string,
method: string,
id: number | string,