Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/api-derive/staking/erasHistoric.ts>erasHistoric

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

Parameters

instanceId: string
api: DeriveApi

Returns

(withActive?: boolean) => Observable<EraIndex[]>