code: func GetECBalance(addr string) (int64, error) {
  	type balanceResponse struct {
  		Balance int64 `json:"balance"`
  	}
  
  	params := addressRequest{Address: addr}
  	req := NewJSON2Request("entry-credit-balance", APICounter(), params)
  	resp, err := factomdRequest(req)
  	if err != nil {
  		return -1, err
  	}
  	if resp.Error != nil {
  		return -1, resp.Error
  	}
  
  	balance := new(balanceResponse)
  	if err := json.Unmarshal(resp.JSONResult(), balance); err != nil {
  		return -1, err
  	}
  
  	return balance.Balance, nil
  }
docs: // GetECBalance returns the balance in factoshi (factoid * 1e8) of a given Entry
  // Credit Public Address.