Skip to content

v1.6.0

Compare
Choose a tag to compare
@2pd 2pd released this 24 Sep 11:07
· 62 commits to master since this release
9e7c819

Added

  • Universal transfer types MAIN_PAY, PAY_MAIN, ISOLATEDMARGIN_MARGINMARGIN_ISOLATEDMARGINISOLATEDMARGIN_ISOLATEDMARGIN
  • New endpoints for Margin OCO orders:
    • POST /sapi/v1/margin/order/oco to send new margin OCO order
    • DELETE /sapi/v1/margin/orderList to cancel margin OCO order
    • GET /sapi/v1/margin/orderList to query a margin OCO order
    • GET /sapi/v1/margin/allOrderList to query all margin OCO orders
    • GET /sapi/v1/margin/openOrderList to query open margin OCO orders
  • New endpoints for Isolated Margin:
    • DELETE /sapi/v1/margin/isolated/account to disable isolated margin account for a specific symbol
    • POST /sapi/v1/margin/isolated/account to enable isolated margin account for a specific symbol
    • GET /sapi/v1/margin/isolated/accountLimit to query num of enabled isolated margin accounts and its max limit
  • New endpoints for BSwap:
    • GET /sapi/v1/bswap/poolConfigure to get pool configure
    • GET /sapi/v1/bswap/addLiquidityPreview to calculate expected share amount for adding liquidity in single or dual token
    • GET /sapi/v1/bswap/removeLiquidityPreview to calculate expected asset amount of single token redemption or dual token redemption