Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
        /// <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);
        }