public void GetTransactionTest() { var pair = "CETBTC"; var transactionData = _repo.GetTransactionData(pair, 2).Result; Assert.NotNull(transactionData); }
/// <summary> /// Get Transaction data /// </summary> /// <param name="pair">String of trading pair</param> /// <param name="id">Transaction history id</param> /// <returns>Transaction object</returns> public Transaction GetTransactionData(string pair, int id = 0) { return(_repository.GetTransactionData(pair, id).Result); }