import { type ProviderInterface } from "https://deno.land/x/polkadot@0.2.38/rpc-provider/types.ts";
Properties
true if the provider supports subscriptions (not available for HTTP)
true if the provider is currently connected (ws/sc has connection logic)
readonly
optional
stats: ProviderStats(optional) stats for the provider with connections/bytes
Methods
clone(): ProviderInterface
on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void