public async void GetBalanceTest( BitcoinBasedCurrency currency, string baseUri, string address) { var api = new InsightApi(currency, baseUri); var balanceResult = await api.GetBalanceAsync(address); Assert.False(balanceResult.HasError, balanceResult.Error?.Description ?? ""); }
public async void GetBalanceTest( BitcoinBasedCurrency currency, string baseUri, string address) { var api = new InsightApi(currency, baseUri); var balance = await api.GetBalanceAsync(address); // todo: catch error }