public async Task <GetWalletFeeResponse> GetWalletFee(int currencyId, decimal amount)
        {
            try
            {
                using (var currencyRepo = new Repository <Currency>())
                {
                    var currency = await currencyRepo.GetOrDefaultAsync(x => x.Id == currencyId);

                    if (currency == null)
                    {
                        return(null);
                    }

                    //var wallet = new WalletConnector("127.0.0.1", 33113, "sa_ddam213.3", "213bit");
                    var wallet = new WalletConnector(currency.WalletHost, currency.WalletPort, currency.WalletUser, currency.WalletPass);
                    if (wallet == null)
                    {
                        Log.Message(LogLevel.Error, "[CreateAddress] - Wallet '{0}' not found.", currencyId);
                        return(null);
                    }

                    var fee = await wallet.GetTxFeeAsync(amount);

                    return(new GetWalletFeeResponse
                    {
                        Fee = fee
                    });
                }
            }
            catch (Exception ex)
            {
                Log.Exception("[GetWalletFee] - An exception occured during GetWalletFee, CurrencyId: {0}.", ex, currencyId);
            }
            return(null);
        }