MCPcopy Create free account
hub / github.com/ccxt/ccxt / fetch_withdrawals

Method fetch_withdrawals

python/ccxt/extended.py:1698–1711  ·  view source on GitHub ↗

fetch all withdrawals made from an account https://api.docs.extended.exchange/#get-deposits-withdrawals-transfers-history :param str [code]: unified currency code :param int [since]: the earliest time in ms to fetch withdrawals for :param int [limit]: the m

(self, code: Str = None, since: Int = None, limit: Int = None, params={})

Source from the content-addressed store, hash-verified

1696 return self.fetch_transactions(code, since, limit, self.extend({'type': 'DEPOSIT'}, params))
1697
1698 def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1699 """
1700 fetch all withdrawals made from an account
1701
1702 https://api.docs.extended.exchange/#get-deposits-withdrawals-transfers-history
1703
1704 :param str [code]: unified currency code
1705 :param int [since]: the earliest time in ms to fetch withdrawals for
1706 :param int [limit]: the maximum number of withdrawal structures to retrieve
1707 :param dict [params]: extra parameters specific to the exchange API endpoint
1708 :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1709 :returns Transaction[]: a list of `transaction structures <https://docs.ccxt.com/?id=transaction-structure>`
1710 """
1711 return self.fetch_transactions(code, since, limit, self.extend({'type': 'WITHDRAWAL'}, params))
1712
1713 def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}) -> Transaction:
1714 """

Callers

nothing calls this directly

Calls 2

fetch_transactionsMethod · 0.95
extendMethod · 0.45

Tested by

no test coverage detected