public void simple_synchronous_call_getspentvalue_returns_result_with_proxy()
        {
            AddressClient client = new AddressClient();
            SpentValue    result = client.GetSpentValue(Network.Doge, "DFundmtrigzA6E25Swr2pRe4Eb79bGP8G1");

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Status == Consts.Success);
            Assert.IsTrue(result.Data.Address == "DFundmtrigzA6E25Swr2pRe4Eb79bGP8G1");
        }
Пример #2
0
        public async Task <SpentValue> GetSpentValueAsync(Network network, string address)
        {
            SpentValue response = await GetQuery <SpentValue, AddressSentValueError>(string.Format(GetSpentValueUrl, network._network, address));

            return(response);
        }