public async Task TestEstimateTxFeeForSendToAddress() { string address = "fiiitCPyohiEPn9q11AXCdvVDouoVvgojXBcVj"; long amount = 100000000000; string commentTo = "Join"; ApiResponse response = await TransactionApi.EstimateTxFeeForSendToAddress(address, amount, "", commentTo, false); Assert.IsFalse(response.HasError); TxFeeForSend result = response.GetResult <TxFeeForSend>(); Assert.IsNotNull(result); }
public Result <TxFeeForSend> EstimateTxFeeForSendToAddress(string address, long amount, string commentTo) { ApiResponse response = TransactionApi.EstimateTxFeeForSendToAddress(address, amount, "", commentTo, false).Result; return(GetResult <TxFeeForSend>(response)); }