Module

x/polkadot/api-derive/staking/util.ts>combineEras

Package publishing for deno.land/x/polkadot
Go to Latest
function combineEras
import { combineEras } from "https://dotland.deno.dev/x/polkadot@0.2.38/api-derive/staking/util.ts";

Type Parameters

F extends "_eraExposure" | "_eraPrefs" | "_eraSlashes"

Returns

(instanceId: string, api: DeriveApi) => (eras: EraIndex[], withActive: boolean) => Observable<ObsInnerType<ApplyReturn<F>>[]>