Skip to main content
Module

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

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

Type Parameters

F extends
| "_erasExposure"
| "_erasPoints"
| "_erasPrefs"
| "_erasRewards"
| "_erasSlashes"

Returns

(instanceId: string, api: DeriveApi) => (withActive?: boolean) => ApplyReturn<F>