Skip to main content

Reduce AMM Account Liquidity

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
Reminder
  • Currently, only the complete withdrawal of liquidity in the selected Amm market is supported, and partial reduction of liquidity is not supported

HTTP request

POST /assets/amm/remove-liquidity

Request parameters

Parameter NameRequiredTypeNotes
markettruestringMarkets

Return parameters

Parameter NameTypeNotes
marketstringMarkets
base_ccy_amountstringBase currency amount in AMM account
quote_ccy_amountstringQuote currency amount in AMM account
liquidity_proportionstringLiquidity percentage in AMM account

Request example

{
"market": "CETUSDT"
}

Response example

{
"code": 0,
"data": {
"market": "CETUSDT",
"base_ccy_amount": "0",
"quote_ccy_amount": "0",
"liquidity_proportion": "0"
},
"message": "OK"
}