Skip to content

1.5.0

Compare
Choose a tag to compare
@tantialex tantialex released this 27 May 09:38
· 17 commits to master since this release
c3373b7

Added

New endpoints for Staking:

  • GET /sapi/v1/staking/productList to get Staking product list
  • POST /sapi/v1/staking/purchase to stake product
  • POST /sapi/v1/staking/redeem to redeem product
  • GET /sapi/v1/staking/position to get Staking product holding position
  • GET /sapi/v1/staking/stakingRecord to inquiry Staking history records
  • POST /sapi/v1/staking/setAutoStaking to set Auto Staking function
  • GET /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.