Module

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

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

Type Parameters

T
F extends (...args: any[]) => Observable<T>

Parameters

section: Collective
fn: (
query: DeriveApi["query"]["council"],
api: DeriveApi,
instanceId: string,
) => F

Returns

(instanceId: string, api: DeriveApi) => F