Wallet Endpoint - Withdraw/Deposit History
birth23 opened this issue · 2 comments
birth23 commented
I am trying to get withdraw history but /sapi/v1/capital/withdraw/history is not working for me on BinanceUS.
i also tried api/v3/withdrawHistory.html in both cases I get illegal character error: Illegal characters found in parameter 'ip'; legal range is '^[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$'. any ideas?
wellsie1116 commented
I ran into this issue with the "/sapi/v1/asset/assetDividend" endpoint. This issue gave me the hint I needed to find a workaround.
api.binance.us resolves to both ipv6 and ipv4 addresses, and these endpoints will fail when a client connects over ipv6. Explicitly binding my client to my local ipv4 address, so it will only connect over ipv4, allowed me to query that endpoint.