跳至主要内容

查詢 LP 礦池詳情

查詢指定流動性礦池的詳細信息,包括 APY、手續費率、代幣儲備及價格區間。

信息
  • 質押前調用本接口,向用戶展示完整的礦池詳情
  • poolAddress 需從礦池列表接口獲取
  • 頻率限制: 5 次/秒(用戶),5000 次/秒(全局)

HTTP 請求

POST/v5/alpha/lp/pool-info

請求參數

參數是否必需類型說明
poolAddresstruestring礦池合約地址

響應參數

參數類型說明
poolAddressstring礦池合約地址
poolNamestring礦池名稱
apystring年化收益率
tvlstring總鎖倉價值
feeRatestring礦池手續費率,如 "0.003" = 0.3%
token0SymbolstringToken0 符號
token0ReservestringToken0 儲備量
token1SymbolstringToken1 符號
token1ReservestringToken1 儲備量
priceRangeLowerstring價格區間下限
priceRangeUpperstring價格區間上限
currentPricestring當前礦池價格

請求示例

POST /v5/alpha/lp/pool-info HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1704067200000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"poolAddress": "0x1234567890abcdef"
}

響應示例

{
"retCode": 0,
"retMsg": "OK",
"result": {
"poolAddress": "0x1234567890abcdef",
"poolName": "ETH-USDC Pool",
"apy": "12.5",
"tvl": "1000000",
"feeRate": "0.003",
"token0Symbol": "ETH",
"token0Reserve": "500",
"token1Symbol": "USDC",
"token1Reserve": "1000000",
"priceRangeLower": "",
"priceRangeUpper": "",
"currentPrice": ""
},
"retExtInfo": {},
"time": 1704067200000
}