AMM Pool Last 24h Data
GET
/api/v1/gateway/public/poolAMM Pool Detailed Data provides the data about Automated Market Maker (AMM) pools, including their configuration parameters and liquidity.
请求参数
The symbol of the AMM pool to query.
The unique identifier of the AMM pool to query.
示例代码
Responses
Indicates whether an error occurred during the API request. If false, the request was successful; otherwise, an error occurred.
The updated time (UTC) of the response data.
The unique identifier of the AMM pool.
The onchain address of base asset.
The onchain address of quote asset.
The base asset name of the pool.
The quote asset name of the pool.
The locked amount of the base asset in the AMM pool.
The locked amount of the quote asset in the AMM pool.
The locked USD value of the base asset in the pool.
The locked USD value of the quote asset in the pool.
The USD value generated in the pool last 24 hours.
The trading volume of the pool last 24 hours.
The estimated APR is the average APR over the last 24 hours’ fees and TVL. The actual APR may vary.
The boost weight in Vessel Voyage.
The error message or the success message from this request.
{
"error": false,
"updatedTime": "2024-07-29T09:36:09Z",
"pools": [
{
"poolId": 1,
"baseTokenAddress": "0x115d7113e5df03fd95242ab0183d343ff1ed13b3",
"quoteTokenAddress": "0xc45c896946a5a182ad2ee3f0806a22bb92abc699",
"baseTokenName": "WBTC",
"quoteTokenName": "USDC",
"baseTvl": 25.333,
"quoteTvl": 763813.2899999997,
"baseTvlValue": 1759763.4315799985,
"quoteTvlValue": 763813.2899999997,
"feeValue24h": 336.7289508,
"tradeVolume24h": 180091.296,
"apr": 6.8326289866,
"boost": {
"startTime": "2024-05-29T06:30:00Z",
"endTime": "9999-12-31T23:59:59Z",
"boost": 1
}
},
{
"poolId": 2,
"baseTokenAddress": "0x115d7113e5df03fd95242ab0183d343ff1ed13b3",
"quoteTokenAddress": "0x46d8d2f5e81a5257e1c6b63933c49493c0042b26",
"baseTokenName": "WBTC",
"quoteTokenName": "USDT",
"baseTvl": 15.6082,
"quoteTvl": 712026.6590000001,
"baseTvlValue": 1084227.671132,
"quoteTvlValue": 712026.6590000001,
"feeValue24h": 43.81870054,
"tradeVolume24h": 22668.193,
"apr": 2.3823441619,
"boost": {
"startTime": "2024-05-29T06:30:00Z",
"endTime": "9999-12-31T23:59:59Z",
"boost": 1
}
}
],
"msg": "success"
}