import { HttpProvider } from "https://dotland.deno.dev/x/polkadot@0.2.23/api/index.ts";
@polkadot/rpc-provider
Methods
connect(): Promise<void>
disconnect(): Promise<void>
on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void
send<T>(): Promise<T>
method: string,
params: unknown[],
isCacheable?: boolean,
subscribe(): Promise<number>
types: string,
method: string,
params: unknown[],
cb: ProviderInterfaceCallback,
unsubscribe(): Promise<boolean>
type: string,
method: string,
id: number,