public Task <IceRequestResult> WithdrawAsync(IceSymbol symbol, string address, DecimalCast amount, Guid?feeQuoteId = null) { var data = new IceCreateWithdrawalRequest { Address = address, Amount = amount, FeeQuoteId = feeQuoteId }; return(_client.ApiUtility.Post <IceRequestResult>($"/withdraw/{symbol.Name}", data)); }
public IceRequestResult Withdraw(IceSymbol symbol, string address, DecimalCast amount, Guid?feeQuoteId = null) => WithdrawAsync(symbol, address, amount, feeQuoteId).Result;
public Task <IceWithdrawalFeeQuote> GetFeeQuoteAsync(IceSymbol symbol) { return(_client.ApiUtility.Get <IceWithdrawalFeeQuote>($"/withdraw/fee/{symbol.Name}")); }
public IceWithdrawalFeeQuote GetFeeQuote(IceSymbol symbol) => GetFeeQuoteAsync(symbol).Result;
public async Task <string> GetAddressAsync(IceSymbol symbol) { var raw = await _client.ApiUtility.Get <IceDepositAddressRaw>($"/deposit/{symbol.Name}"); return(raw.Address); }
public string GetAddress(IceSymbol symbol) => GetAddressAsync(symbol).Result;