Skip to main content
Module

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

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

Type Parameters

F extends
| "_ownExposures"
| "_ownSlashes"
| "_stakerPoints"
| "_stakerPrefs"
| "_stakerSlashes"

Returns

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