function idAndIndeximport { idAndIndex } from "https://dotland.deno.dev/x/polkadot@0.2.38/api-derive/accounts/index.ts"; idAndIndex(instanceId: string, api: DeriveApi): (address?: | Address | AccountId | AccountIndex | Uint8Array | string | null) => Observable<AccountIdAndIndex>Examples api.derive.accounts.idAndIndex('F7Hs', ([id, ix]) => { console.log(`AccountId #${id} with corresponding AccountIndex ${ix}`); }); ParametersinstanceId: string An accounts address in various formats. api: DeriveApiReturns(address?: | Address | AccountId | AccountIndex | Uint8Array | string | null) => Observable<AccountIdAndIndex>