From cf818540df77a0fa6b9864ca25ae4048af273b95 Mon Sep 17 00:00:00 2001 From: WuKong <903016116@qq.com> Date: Sun, 9 Apr 2023 07:26:03 +0000 Subject: [PATCH] Add the wdId parameter to the get_withdrawal_history interface. --- okx/Funding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/okx/Funding.py b/okx/Funding.py index a4c3c65..56b4a76 100644 --- a/okx/Funding.py +++ b/okx/Funding.py @@ -40,8 +40,8 @@ class FundingAPI(Client): return self._request_with_params(GET, DEPOSIT_HISTORIY, params) # Get Withdrawal History - def get_withdrawal_history(self, ccy='', state='', after='', before='', limit='',txId=''): - params = {'ccy': ccy, 'state': state, 'after': after, 'before': before, 'limit': limit,'txId':txId} + def get_withdrawal_history(self, ccy='', wdId='', state='', after='', before='', limit='',txId=''): + params = {'ccy': ccy, 'wdId': wdId, 'state': state, 'after': after, 'before': before, 'limit': limit,'txId':txId} return self._request_with_params(GET, WITHDRAWAL_HISTORIY, params) # Get Currencies