/// <summary> /// Cancel withdrawal with specified ID /// </summary> /// <exception cref="Io.Gate.GateApi.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="withdrawalId"></param> /// <returns>Task of LedgerRecord</returns> public async Task <LedgerRecord> CancelWithdrawalAsync(string withdrawalId) { Io.Gate.GateApi.Client.ApiResponse <LedgerRecord> localVarResponse = await CancelWithdrawalAsyncWithHttpInfo(withdrawalId); return(localVarResponse.Data); }
/// <summary> /// Withdraw /// </summary> /// <exception cref="Io.Gate.GateApi.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="ledgerRecord"></param> /// <returns>Task of LedgerRecord</returns> public async Task <LedgerRecord> WithdrawAsync(LedgerRecord ledgerRecord) { Io.Gate.GateApi.Client.ApiResponse <LedgerRecord> localVarResponse = await WithdrawAsyncWithHttpInfo(ledgerRecord); return(localVarResponse.Data); }