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

x/polkadot/api/index.ts>ScProvider#subscribe

Package publishing for deno.land/x/polkadot
Go to Latest
method ScProvider.prototype.subscribe
import { ScProvider } from "https://deno.land/x/polkadot@0.2.14/api/index.ts";

Parameters

type: string
method: string
params: any[]
callback: ProviderInterfaceCallback

Returns

Promise<number | string>