unicorn-binance-rest-api icon indicating copy to clipboard operation
unicorn-binance-rest-api copied to clipboard

Add staking endpoints

Open TBMoonwalker opened this issue 2 years ago • 3 comments

Describe the solution you'd like.

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

TBMoonwalker avatar Oct 17 '22 06:10 TBMoonwalker

Will be done next week!

oliver-zehentleitner avatar Apr 01 '23 08:04 oliver-zehentleitner

Sorry, this came in between: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-websocket-api/issues/319

Will continue here after finishing that...

oliver-zehentleitner avatar Apr 10 '23 02:04 oliver-zehentleitner

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

oliver-zehentleitner avatar May 14 '24 11:05 oliver-zehentleitner