import { idToIndex } from "https://deno.land/x/polkadot@0.2.35/api-derive/accounts/idToIndex.ts";
Parameters
api: DeriveApi
Returns
(accountId: AccountId | string) => Observable<AccountIndex | undefined>
Returns the corresponding AccountIndex.
x/polkadot/api-derive/accounts/idToIndex.ts>idToIndex
import { idToIndex } from "https://deno.land/x/polkadot@0.2.35/api-derive/accounts/idToIndex.ts";
Returns the corresponding AccountIndex.