Skip to main content
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://deno.land/x/polkadot@0.2.40/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>>[]>