class HttpProvider
implements ProviderInterface
import { HttpProvider } from "https://deno.land/x/polkadot@0.2.23/rpc-provider/http/index.ts";
@polkadot/rpc-provider
Properties
readonly
stats: ProviderStatsMethods
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>
unsubscribe(): Promise<boolean>
type: string,
method: string,
id: number,