Skip to main content

Add 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.

HTTP request

POST /assets/amm/add-liquidity

Request parameters

Parameter NameRequiredTypeNotes
markettruestringMarkets
base_ccy_amounttruestringAdded base currency amount
quote_ccy_amounttruestringAdded quote currency amount

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",
"base_ccy_amount": "25837.077847838",
"quote_ccy_amount": "6540.714421152"
}

Response example

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