public void simple_synchronous_call_getspenttx_returns_result_with_proxy() { AddressClient client = new AddressClient(); InputTx result = client.GetSpentTx(Network.Doge, "DRapidDiBYggT1zdrELnVhNDqyAHn89cRi", "e83d147c3bcd87c6efd5270896a179f6ecb1de8b8c8cc324645c5a14129baf8c"); Assert.IsNotNull(result); Assert.IsTrue(result.Status == Consts.Success); Assert.IsTrue(result.Data.Address == "DRapidDiBYggT1zdrELnVhNDqyAHn89cRi"); }
public async Task <InputTx> GetSpentTxAsync(Network network, string address, string afterTxid = null) { InputTx response = await GetQuery <InputTx, AddressAfterTxError>(string.Format(GetSpentTxUrl, network._network, address, afterTxid)); return(response); }