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

x/polkadot/api-derive/collective/helpers.ts>callMethod

Package publishing for deno.land/x/polkadot
Go to Latest
function callMethod
import { callMethod } from "https://deno.land/x/polkadot@0.2.14/api-derive/collective/helpers.ts";

Parameters

method: "members" | "proposals" | "proposalCount"
empty: T

Returns

(section: Collective) => (instanceId: string, api: DeriveApi) => () => Observable<T>