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

Add staking endpoints #50

Open
TBMoonwalker opened this issue Oct 17, 2022 · 3 comments
Open

Add staking endpoints #50

TBMoonwalker opened this issue Oct 17, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request waiting for user
Milestone

Comments

@TBMoonwalker
Copy link

TBMoonwalker commented Oct 17, 2022

Describe the solution you'd like.

Please add the rest api endpoints for /sapi/v1/staking/*

@oliver-zehentleitner
Copy link
Member

Will be done next week!

@oliver-zehentleitner
Copy link
Member

Sorry, this came in between: LUCIT-Systems-and-Development/unicorn-binance-websocket-api#319

Will continue here after finishing that...

@oliver-zehentleitner
Copy link
Member

oliver-zehentleitner commented May 14, 2024

I was just about to add it, but what you want has since been disabled again:
https://binance-docs.github.io/apidocs/spot/en/#change-log

According to the announcement, Binance Earn disable the following Staking SAPI endpoints at 2024-01-09 06:00 (UTC):

GET /sapi/v1/staking/productList
POST /sapi/v1/staking/purchase
POST /sapi/v1/staking/redeem
GET /sapi/v1/staking/position
GET /sapi/v1/staking/stakingRecord
POST /sapi/v1/staking/setAutoStaking
GET /sapi/v1/staking/personalLeftQuota

In the Binance docs I find these staking endpoints, are these the ones you need?

https://binance-docs.github.io/apidocs/spot/en/#staking-endpoints
https://binance-docs.github.io/apidocs/spot/en/#eth-staking-account-user_data
https://binance-docs.github.io/apidocs/spot/en/#get-eth-staking-history-user_data
https://binance-docs.github.io/apidocs/spot/en/#eth-staking-account-v2-user_data
https://binance-docs.github.io/apidocs/spot/en/#get-current-eth-staking-quota-user_data
https://binance-docs.github.io/apidocs/spot/en/#subscribe-eth-staking-v2-trade
https://binance-docs.github.io/apidocs/spot/en/#subscribe-eth-staking-trade
https://binance-docs.github.io/apidocs/spot/en/#redeem-eth-trade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for user
Projects
None yet
Development

No branches or pull requests

2 participants