代币流动性池信息#
支持查看流动性前 5 的池子信息
请求路径#
GET https://web3.okx.com/api/v6/dex/market/token/top-liquidity
请求参数#
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| chainIndex | String | 是 | 链的唯一标识。例如:1:Ethereum。 |
| tokenContractAddress | String | 是 | 代币合约地址(例如:0x382bb369d343125bfb2117af9c149795c6c65c50) |
响应参数#
| 字段名 | 类型 | 说明 |
|---|---|---|
| pool | String | 资金池,例 Punch/SOL |
| protocolName | String | 协议名称 |
| liquidityUsd | String | 流动性价值 |
| liquidityAmount | Array | 流动性数量 |
| >tokenAmount | String | 流动性池中代币数量 |
| >tokenSymbol | String | 流动性池中代币名称 |
| liquidityProviderFeePercent | String | 流动性提供者收费百分比 |
| poolAddress | String | 池子地址 |
| poolCreator | String | 池子创建者 |
请求示例#
Shell
curl --location 'https://web3pre.okex.org/api/v6/dex/market/token/liquidity?chainIndex=8453&tokenContractAddress=0x1f16e03c1a5908818f47f6ee7bb16690b40d0671' \
--header 'Cookie: locale=en-US'
响应示例#
Json
{
"code": "0",
"data": [
{
"liquidityAmount": [
{
"tokenAmount": "4347613.0508917095",
"tokenSymbol": "RECALL"
},
{
"tokenAmount": "142351.302373",
"tokenSymbol": "USDC"
}
],
"liquidityProviderFeePercent": "0.06%",
"liquidityUsd": "344879.7538226645330963352547001735",
"pool": "RECALL/USDC",
"poolAddress": "0x5e3791f68ebceac82788f3becab154c15141a2f4",
"poolCreator": "0xee4bbf067ce361b75e8f31fd2fe726caba757a67",
"protocolName": "Aerodrome"
},
{
"liquidityAmount": [
{
"tokenAmount": "1627239.5672854523",
"tokenSymbol": "RECALL"
},
{
"tokenAmount": "25.183845099309004",
"tokenSymbol": "WETH"
}
],
"liquidityProviderFeePercent": "0.30%",
"liquidityUsd": "126390.2349541208658853815306505521",
"pool": "RECALL/WETH",
"poolAddress": "0x6ee714d6d8df7662bca805f58cc1d5a8886d78eb",
"poolCreator": "0xee4bbf067ce361b75e8f31fd2fe726caba757a67",
"protocolName": "Aerodrome"
}
],
"msg": ""
}