import { _erasRewards } from "https://dotland.deno.dev/x/polkadot@0.2.38/api-derive/staking/index.ts";
Parameters
api: DeriveApi
Returns
(eras: EraIndex[], withActive: boolean) => Observable<DeriveEraRewards[]>
x/polkadot/api-derive/staking/index.ts>_erasRewards
import { _erasRewards } from "https://dotland.deno.dev/x/polkadot@0.2.38/api-derive/staking/index.ts";