async fetchWalletBalances(index) {
    console.log('fetchWalletBalances for wallet#', index);
    if (index || index === 0) {
      let c = 0;
      for (let wallet of this.wallets) {
        if (c++ === index) {
          await wallet.fetchBalance();
        }
      }
    } else {
      for (let wallet of this.wallets) {
        await wallet.fetchBalance();
      }
    }
  }
/**
   * For each wallet, fetches balance from remote endpoint.
   * Use getter for a specific wallet to get actual balance.
   * Returns void.
   * If index is present then fetch only from this specific wallet
   *
   * @return {Promise.<void>}
   */
For each wallet, fetches balance from remote endpoint.
Use getter for a specific wallet to get actual balance.
Returns void.
If index is present then fetch only from this specific wallet

@return {Promise.}
For each wallet fetches balance from remote endpoint . Use getter for a specific wallet to get actual balance . Returns void . If index is present then fetch only from this specific wallet @return { Promise . }
async fetchWalletBalances(index) {
    console.log('fetchWalletBalances for wallet#', index);
    if (index || index === 0) {
      let c = 0;
      for (let wallet of this.wallets) {
        if (c++ === index) {
          await wallet.fetchBalance();
        }
      }
    } else {
      for (let wallet of this.wallets) {
        await wallet.fetchBalance();
      }
    }
  }
async fetchWalletBalances ( index ) { console . log ( 'fetchWalletBalances for wallet#' , index ) ; if ( index || index === 0 ) { let c = 0 ; for ( let wallet of this . wallets ) { if ( c ++ === index ) { await wallet . fetchBalance ( ) ; } } } else { for ( let wallet of this . wallets ) { await wallet . fetchBalance ( ) ; } } }
For each wallet, fetches balance from remote endpoint.
For each wallet fetches balance from remote endpoint .