Open jdx-john opened 3 years ago
Likely a bug you ran into. There was likely not an API currency endpoint back when that method was implemented, so as a hack, it was probably retrieved by parsing the HTML on the Binance website.
I can see it's making a call to:
https://www.binance.com/assetWithdraw/getAllAsset.html
But I don't know the Binance API at all to comment :)
That Binance end point is gone, method is currently broken
Hmm, that's not the one either, not sure where this info has moved to
I noticed this has apparently changed because BinanceGroup.OnGetCurrenciesAsync
now calls "https://api.binance.com/sapi/v1/capital/config/getall" which is part of wallet-endpoints (https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data). It looks good but I get the error back API-key format invalid. Not sure why.
I figured I could maybe use results of OnGetMarketSymbolsMetadataAsync
to find the list of currencies?
Ive been using this on the kraken exchange API fine but when I tested on Binance, I got an exception that was so giant, I couldn't even find the top of the popup (well done VS for Mac!)
It seems some request got an entire HTML page as a response... is this method believed to be functional?