Esempio n. 1
0
 public override decimal GetUserAddressBalance(string userAddress)
 {
     try
     {
         var response =
             service.GetAddressBalance(
                 new AddressBalanceRequest {
             Addresses = new List <string> {
                 userAddress
             }
         });
         return(ConvertDuffsToDashAmount(response.Balance));
     }
     catch
     {
         return(0m);
     }
 }