Skip to content

Commit

Permalink
Remove deprecated withdraw fee function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam McHardy committed Aug 12, 2019
1 parent 1d99f90 commit 846cbb1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
22 changes: 0 additions & 22 deletions binance/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2084,28 +2084,6 @@ def get_deposit_address(self, **params):
"""
return self._request_withdraw_api('get', 'depositAddress.html', True, data=params)

def get_withdraw_fee(self, **params):
"""Fetch the withdrawal fee for an asset
:param asset: required
:type asset: str
:param recvWindow: the number of milliseconds the request is valid for
:type recvWindow: int
:returns: API response
.. code-block:: python
{
"withdrawFee": "0.0005",
"success": true
}
:raises: BinanceRequestException, BinanceAPIException
"""
return self._request_withdraw_api('get', 'withdrawFee.html', True, data=params)

# User Stream Endpoints

def stream_get_listen_key(self):
Expand Down
7 changes: 0 additions & 7 deletions docs/withdraw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,3 @@ Raises a `BinanceWithdrawException <binance.html#binance.exceptions.BinanceWithd
.. code:: python
address = client.get_deposit_address(asset='BTC')
`Get withdraw fee <binance.html#binance.client.Client.get_withdraw_fee>`_
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: python
address = client.get_withdraw_fee(asset='BTC')

0 comments on commit 846cbb1

Please sign in to comment.