Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.11.2: Update old margin SAPI interfaces as per docs #426

Merged
merged 2 commits into from
May 29, 2024

Conversation

tiagosiebler
Copy link
Owner

Summary

From docs:

2024-01-09

According to the announcement, Binance Margin will remove the following SAPI interfaces at 4:00 on March 31, 2024 (UTC). Please switch to the corresponding alternative interfaces in time:

POST /sapi/v1/margin/transfer will be removed, please replace with POST /sapi/v1/asset/transfer universal transfer
POST /sapi/v1/margin/isolated/transfer will be removed, please replace with POST /sapi/v1/asset/transfer universal transfer
POST /sapi/v1/margin/loan will be removed, please replace with the new POST /sapi/v1/margin/borrow-repay borrowing and repayment interface
POST /sapi/v1/margin/repay will be removed, please replace with the new POST /sapi/v1/margin/borrow-repay borrowing and repayment interface
GET /sapi/v1/margin/isolated/transfer will be removed, please replace it with GET /sapi/v1/margin/transfer to get total margin transfer history
GET /sapi/v1/margin/asset will be removed, please replace with GET /sapi/v1/margin/allAssets
GET /sapi/v1/margin/pair will be removed, please replace with GET /sapi/v1/margin/allPairs
GET /sapi/v1/margin/isolated/pair will be removed, please replace with GET /sapi/v1/margin/isolated/allPairs
GET /sapi/v1/margin/loan will be removed, please replace with GET /sapi/v1/margin/borrow-repay
GET /sapi/v1/margin/repay will be removed, please replace with GET /sapi/v1/margin/borrow-repay
GET /sapi/v1/margin/dribblet will be removed, please replace with GET /sapi/v1/asset/dribblet
GET /sapi/v1/margin/dust will be removed, please replace with POST /sapi/v1/asset/dust-btc
POST /sapi/v1/margin/dust will be removed, please replace with POST /sapi/v1/asset/dust

@tiagosiebler tiagosiebler merged commit b491e8d into master May 29, 2024
4 checks passed
@tiagosiebler tiagosiebler changed the title Update old margin SAPI interfaces as per docs v2.11.2: Update old margin SAPI interfaces as per docs May 29, 2024
@tiagosiebler tiagosiebler deleted the marginendpoints branch July 25, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant