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