code: func (r FutureListAccountsResult) Receive() (map[string]btcutil.Amount, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, err
  	}
  
  	// Unmarshal result as a json object.
  	var accounts map[string]float64
  	err = json.Unmarshal(res, &accounts)
  	if err != nil {
  		return nil, err
  	}
  
  	accountsMap := make(map[string]btcutil.Amount)
  	for k, v := range accounts {
  		amount, err := btcutil.NewAmount(v)
  		if err != nil {
  			return nil, err
  		}
  
  		accountsMap[k] = amount
  	}
  
  	return accountsMap, nil
  }
docs: // Receive waits for the response promised by the future and returns returns a
  // map of account names and their associated balances.