예제 #1
0
        public void PostDeposit_Test()
        {
            var asset   = "NEO";
            var amount  = 3.5M;
            var deposit = _repoAuth.CreateDeposit(asset, amount).Result;

            Assert.NotNull(deposit);
        }
예제 #2
0
 /// <summary>
 /// Create a deposit
 /// It can be executed through ExecuteDeposit.
 /// EXECUTE REQUIRED
 /// </summary>
 /// <param name="asset">Asset to deposit</param>
 /// <param name="amount">Amount to deposit</param>
 /// <returns>Deposit response</returns>
 public TransactionResponse CreateDeposit(string asset, decimal amount)
 {
     return(_repository.CreateDeposit(asset, amount).Result);
 }