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