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

x/polkadot/api-derive/staking/stakerRewards.ts>_stakerRewardsEras

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

Parameters

instanceId: string

Returns

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