Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/rpc-provider/mod.ts>HttpProvider#subscribe

Package publishing for deno.land/x/polkadot
Go to Latest
method HttpProvider.prototype.subscribe
import { HttpProvider } from "https://deno.land/x/polkadot@0.2.35/rpc-provider/mod.ts";

Parameters

_types: string
_method: string
_params: unknown[]
_cb: ProviderInterfaceCallback

Returns

Promise<number>