import { ScProvider } from "https://deno.land/x/polkadot@0.2.14/api/bundle.ts";
Constructors
new
ScProvider(spec: string | WellKnownChain, sharedSandbox?: ScProvider)Methods
clone(): ProviderInterface
connect(config?: ScConfig, 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,