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

Method fetch_deposits

python/ccxt/extended.py:1683–1696  ·  view source on GitHub ↗

fetch all deposits made to 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 deposits for :param int [limit]: the maximum n

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

Source from the content-addressed store, hash-verified

1681 return self.parse_transactions(result, currency, since, limit)
1682
1683 def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1684 """
1685 fetch all deposits made to an account
1686
1687 https://api.docs.extended.exchange/#get-deposits-withdrawals-transfers-history
1688
1689 :param str [code]: unified currency code
1690 :param int [since]: the earliest time in ms to fetch deposits for
1691 :param int [limit]: the maximum number of deposit structures to retrieve
1692 :param dict [params]: extra parameters specific to the exchange API endpoint
1693 :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)
1694 :returns Transaction[]: a list of `transaction structures <https://docs.ccxt.com/?id=transaction-structure>`
1695 """
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 """

Callers

nothing calls this directly

Calls 2

fetch_transactionsMethod · 0.95
extendMethod · 0.45

Tested by

no test coverage detected