Add the wdId parameter to the get_withdrawal_history interface.

This commit is contained in:
WuKong 2023-04-09 07:26:03 +00:00
parent c8496e557d
commit cf818540df
1 changed files with 2 additions and 2 deletions

View File

@ -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