1.5.0
Added
New endpoints for Staking:
GET /sapi/v1/staking/productList
to get Staking product listPOST /sapi/v1/staking/purchase
to stake productPOST /sapi/v1/staking/redeem
to redeem productGET /sapi/v1/staking/position
to get Staking product holding positionGET /sapi/v1/staking/stakingRecord
to inquiry Staking history recordsPOST /sapi/v1/staking/setAutoStaking
to set Auto Staking functionGET /sapi/v1/staking/personalLeftQuota
to inquiry Staking left quota
New endpoint for Portfolio Margin:
GET /sapi/v1/portfolio/account
to support query portfolio margin account info
New endpoint for BSwap:
GET /sapi/v1/bswap/removeLiquidityPreview
to get remove liquidity preview
New endpoint for Gift Card:
GET /sapi/v1/giftcard/cryptography/rsa-public-key
to fetch RSA public key.
Changed
Update endpoint for Gift Card:
POST /sapi/v1/giftcard/redeemCode
: new optional parameter externalUid. Each external unique ID represents a unique user on the partner platform. The function helps you to identify the redemption behavior of different users.
Fixed
- Updated tests & examples parameters.
- Updated documentation.
- Added missing Market examples.
- Added missing parameters to Mining endpoints.
- Added missing symbol parameter to Isolated User Data Streams.
- Changed wrong Enum data types.