func (ws *WalletService) DepositAddress(wallet, method string) (*notification.Notification, error) {
	return ws.depositAddress(wallet, method, 0)
}
Retrieves the deposit address for the given Bitfinex wallet
see https://docs.bitfinex.com/reference#deposit-address for more info
package rest
import (
	"strconv"
	"github.com/bitfinexcom/bitfinex-api-go/pkg/models/common"
	"github.com/bitfinexcom/bitfinex-api-go/pkg/models/notification"
	"github.com/bitfinexcom/bitfinex-api-go/pkg/models/wallet"
)
type WalletService struct {
	requestFactory
	Synchronous
}
func (s *WalletService) Wallet() (*wallet.Snapshot, error) {
	req, err := s.requestFactory.NewAuthenticatedRequest(common.PermissionRead, "wallets")
	if err != nil {
		return nil, err
	}
	raw, err := s.Request(req)
	if err != nil {
		return nil, err
	}
	os, err := wallet.SnapshotFromRaw(raw)
	if err != nil {
		return nil, err
	}
	return os, nil
}
func (ws *WalletService) Transfer(from, to, currency, currencyTo string, amount float64) (*notification.Notification, error) {
	body := map[string]interface{}{
		"from":        from,
		"to":          to,
		"currency":    currency,
		"currency_to": currencyTo,
		"amount":      strconv.FormatFloat(amount, 'f', -1, 64),
	}
	req, err := ws.requestFactory.NewAuthenticatedRequestWithData(common.PermissionWrite, "transfer", body)
	if err != nil {
		return nil, err
	}
	raw, err := ws.Request(req)
	if err != nil {
		return nil, err
	}
	return notification.FromRaw(raw)
}
func (ws *WalletService) depositAddress(wallet string, method string, renew int) (*notification.Notification, error) {
	body := map[string]interface{}{
		"wallet":   wallet,
		"method":   method,
		"op_renew": renew,
	}
	req, err := ws.requestFactory.NewAuthenticatedRequestWithData(common.PermissionWrite, "deposit/address", body)
	if err != nil {
		return nil, err
	}
	raw, err := ws.Request(req)
	if err != nil {
		return nil, err
	}
	return notification.FromRaw(raw)
}