func (p *WalletClient) GetDepositAddress(currency string) ([]wallet.DepositAddress, error) {
	request := new(model.GetRequest).Init()
	request.AddParam("currency", currency)
	url := p.privateUrlBuilder.Build("GET", "/v2/account/deposit/address", request)
	getResp, getErr := internal.HttpGet(url)
	if getErr != nil {
		return nil, getErr
	}
	result := wallet.GetDepositAddressResponse{}
	jsonErr := json.Unmarshal([]byte(getResp), &result)
	if jsonErr != nil {
		return nil, jsonErr
	}
	if result.Code == 200 && result.Data != nil {
		return result.Data, nil
	}
	return nil, errors.New(getResp)
}
Get deposit address of corresponding chain, for a specific crypto currency (except IOTA)
package client
import (
	"encoding/json"
	"errors"
	"github.com/huobirdcenter/huobi_golang/internal"
	"github.com/huobirdcenter/huobi_golang/internal/requestbuilder"
	"github.com/huobirdcenter/huobi_golang/pkg/model"
	"github.com/huobirdcenter/huobi_golang/pkg/model/wallet"
	"strconv"
)
type WalletClient struct {
	privateUrlBuilder *requestbuilder.PrivateUrlBuilder
}
func (p *WalletClient) Init(accessKey string, secretKey string, host string) *WalletClient {
	p.privateUrlBuilder = new(requestbuilder.PrivateUrlBuilder).Init(accessKey, secretKey, host)
	return p
}