Merge pull request #14 from Sharp-Lee/master

Add the wdId parameter to the get_withdrawal_history interface.
This commit is contained in:
okxapi 2023-04-11 15:28:39 +08:00 committed by GitHub
commit 8adde2261c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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