Open pvyhnal-generalbytes opened 1 year ago
If you submit a PR with the fix, we'll gladly merge it.
To clarify, is your issue with the name parameter or the fact that you cannot retrieve more than 500 whitelisted addresses?
as the quoted response from binance says, when we have the "name" parameter in the "withdraw" request, then the address is stored in a binance whitelist. (this does not seem to be documented). When the whitelist is full (500 addresses) new withdrawals with the "name" parameter fail because they cannot add the address to the whitelist.
I think the solution is just to omit the "name" parameter, but it the xchange code mentions it's mandatory. the api spec doesn't say that so it would have to be tested. Maybe it was mandatory in the past
Our customer reported seeing the following exception:
and Binance support told them:
The API spec says the name parameter is optional but the code has a comment saying it might be not?
https://github.com/knowm/XChange/blob/xchange-5.0.12/xchange-binance/src/main/java/org/knowm/xchange/binance/service/BinanceAccountServiceRaw.java#L38
We're on version 5.0.12