class ScProvider
implements ProviderInterface
import { ScProvider } from "https://deno.land/x/polkadot@0.2.29/rpc-provider/substrate-connect/index.ts";
Constructors
Methods
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>
unsubscribe(): Promise<boolean>
type: string,
method: string,
id: number | string,