binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
834 stars 627 forks source link

Deprecated API Endpoints #414

Open Coalado opened 2 years ago

Coalado commented 2 years ago

When calling e.g. com.binance.api.client.impl.BinanceApiRestClientImpl.getDepositHistory(String) I get an error:

This endpoint has been deprecated, please integrate with “GET@/sapi/v1/capital/deposit/hisrec”. See details in the announcement: https://www.binance.com/en/support/announcement/f45dde7da58b473aa885349946bed269

strazdinsg commented 2 years ago

Any plans on updating the deprecated endpoints? Withdrawal and deposit endpoints have been deprecated on August 2021, moved to /sapi/v1/capital/deposit/hisrec and /sapi/v1/capital/withdraw/history

See https://binance-docs.github.io/apidocs/spot/en/#deposit-history-supporting-network-user_data and https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data

strazdinsg commented 2 years ago

It seems that this is fixed in #397