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

x/polkadot/api-derive/staking/stakerPrefs.ts>_stakerPrefs

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

Parameters

instanceId: string

Returns

(
accountId: Uint8Array | string,
eras: EraIndex[],
withActive: boolean,
) => Observable<DeriveStakerPrefs[]>