Module

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

Package publishing for deno.land/x/polkadot
Go to Latest
function singleEra
import { singleEra } 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) => (era: EraIndex) => ApplyReturn<F>