accountWithdraw(currency, quantity, address, paymentid = null) {
    if (!this.__apiKey) {
      return Promise.reject(new Error('API key is required for account requests'));
    }
    if (!this.__apiSecret) {
      return Promise.reject(new Error('API secret is required for account requests'));
    }
    if (!currency) {
      return Promise.reject(new Error('Currency is required'));
    }
    if (!quantity) {
      return Promise.reject(new Error('Quantity is required'));
    }
    if (!address) {
      return Promise.reject(new Error('Address is required'));
    }

    const data = { currency, quantity, address };
    if (paymentid !== null) {
      Object.assign(data, paymentid);
    }

    return this.doRequest(this.ACCOUNT_WITHDRAW, data);
  }
/**
   * Used to withdraw funds from your account. note: please account for txfee.
   *
   * @param {String} currency - required a string literal for the currency (ie. BTC)
   * @param {String} quantity - required the quantity of coins to withdraw
   * @param {String} address - required the address where to send the funds.
   * @param {String} paymentid - optional used for CryptoNotes/BitShareX/Nxt
   * @returns Promise
   * @memberof Bittrex
   */
Used to withdraw funds from your account. note: please account for txfee.
@param {String} currency - required a string literal for the currency
@param {String} quantity - required the quantity of coins to withdraw
@param {String} address - required the address where to send the funds.
@param {String} paymentid - optional used for CryptoNotes/BitShareX/Nxt
@returns Promise
@memberof Bittrex
Used to withdraw funds from your account . note : please account for txfee . @param { String } currency - required a string literal for the currency @param { String } quantity - required the quantity of coins to withdraw @param { String } address - required the address where to send the funds . @param { String } paymentid - optional used for CryptoNotes / BitShareX / Nxt @returns Promise @memberof Bittrex
accountWithdraw(currency, quantity, address, paymentid = null) {
    if (!this.__apiKey) {
      return Promise.reject(new Error('API key is required for account requests'));
    }
    if (!this.__apiSecret) {
      return Promise.reject(new Error('API secret is required for account requests'));
    }
    if (!currency) {
      return Promise.reject(new Error('Currency is required'));
    }
    if (!quantity) {
      return Promise.reject(new Error('Quantity is required'));
    }
    if (!address) {
      return Promise.reject(new Error('Address is required'));
    }
    const data = { currency, quantity, address };
    if (paymentid !== null) {
      Object.assign(data, paymentid);
    }
    return this.doRequest(this.ACCOUNT_WITHDRAW, data);
  }
accountWithdraw ( currency , quantity , address , paymentid = null ) { if ( ! this . __apiKey ) { return Promise . reject ( new Error ( 'API key is required for account requests' ) ) ; } if ( ! this . __apiSecret ) { return Promise . reject ( new Error ( 'API secret is required for account requests' ) ) ; } if ( ! currency ) { return Promise . reject ( new Error ( 'Currency is required' ) ) ; } if ( ! quantity ) { return Promise . reject ( new Error ( 'Quantity is required' ) ) ; } if ( ! address ) { return Promise . reject ( new Error ( 'Address is required' ) ) ; } const data = { currency , quantity , address } ; if ( paymentid !== null ) { Object . assign ( data , paymentid ) ; } return this . doRequest ( this . ACCOUNT_WITHDRAW , data ) ; }
Used to withdraw funds from your account.
Used to withdraw funds from your account .