@@ -156,9 +156,12 @@ def get_recent_deposits_status(
156156 self : Funding ,
157157 asset : Optional [str ] = None ,
158158 method : Optional [str ] = None ,
159+ start : Optional [str ] = None ,
160+ end : Optional [str ] = None ,
161+ cursor : bool | str = False , # noqa: FBT002
159162 * ,
160163 extra_params : Optional [dict ] = None ,
161- ) -> list [dict ]:
164+ ) -> list [dict ] | dict :
162165 """
163166 Get information about the recent deposit status. The look back period is 90 days and
164167 only the last 25 deposits will be returned.
@@ -171,8 +174,15 @@ def get_recent_deposits_status(
171174 :type asset: str, optional
172175 :param method: Filter by deposit method
173176 :type method: str, optional
177+ :param start: Start timestamp
178+ :type start: str, optional
179+ :param end: End timestamp
180+ :type end: str, optional
181+ :param cursor: If bool: dis-/enable paginated responses; if str: cursor
182+ for next page
183+ :type cursor: bool | str, default: ``False``
174184 :return: The user specific deposit history
175- :rtype: list[dict]
185+ :rtype: list[dict] | dict
176186
177187 .. code-block:: python
178188 :linenos:
@@ -218,11 +228,16 @@ def get_recent_deposits_status(
218228 }, ...
219229 ]
220230 """
221- params : dict = {}
231+ params : dict = {"cursor" : cursor }
222232 if defined (asset ):
223233 params ["asset" ] = asset
224234 if defined (method ):
225235 params ["method" ] = method
236+ if defined (start ):
237+ params ["start" ] = start
238+ if defined (end ):
239+ params ["end" ] = end
240+
226241 return self ._request ( # type: ignore[return-value]
227242 method = "POST" ,
228243 uri = "/private/DepositStatus" ,
0 commit comments