Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.12/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>