method ScProvider.prototype.onimport { ScProvider } from "https://dotland.deno.dev/x/polkadot@0.2.38/api/mod.ts"; on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => voidParameterstype: ProviderInterfaceEmittedsub: ProviderInterfaceEmitCbReturns() => void