Get AMM Income History
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
GET /assets/amm/income-history
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
market | true | string | Market name |
start_time | false | int | Query start time.
|
end_time | false | int | Query end time.
|
page | false | int | Number of pagination. Default is 1. |
limit | false | int | Number in each page. Default is 10. The maximum quantity is 100. |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
created_at | int | Income settlement time |
market | string | Market name |
base_ccy | string | Base currency |
quote_ccy | string | Quote currency |
base_ccy_amount | string | Number of coin(s) traded by user |
quote_ccy_amount | string | Base currency amount of user |
liquidity | string | Total liquidity of user |
liquidity_proportion | string | Liquidity ratio of user |
fee_dividend | string | 7-day fee dividend of user |
Request example
GET /assets/amm/income-history?market=CETUSDT
Response example
{
"code": 0,
"data": [
{
"created_at": 1691482451000,
"market": "CETUSDT",
"base_ccy": "CET",
"quote_ccy": "USDT",
"base_ccy_amount": "9867308.89746572",
"quote_ccy_amount": "640781.63710471",
"liquidity": "1276150.44",
"liquidity_proportion": "0.016346",
"fee_dividend": "18.45"
}
],
"pagination": {
"has_next": false
},
"message": "OK"
}