import { idAndIndex } from "https://deno.land/x/polkadot@0.2.16/api-derive/accounts/idAndIndex.ts";
Examples
api.derive.accounts.idAndIndex('F7Hs', ([id, ix]) => {
console.log(`AccountId #${id} with corresponding AccountIndex ${ix}`);
});
Parameters
api: DeriveApi
Returns
(address?: ) => Observable<AccountIdAndIndex>