Exemple #1
0
        public void GetBalanceTest()
        {
            var symbol = "TRX";

            var balance = _repo.GetBalance(symbol).Result;

            Assert.NotNull(balance);
        }
Exemple #2
0
 /// <summary>
 /// Get account balance of a currency
 /// </summary>
 /// <param name="symbol">Symbol of currency</param>
 /// <returns>Balance object</returns>
 public Balance GetBalance(string symbol)
 {
     return(_repository.GetBalance(symbol).Result);
 }