跳轉到主要內容
GET
/
lock
/
cpmm
/
position
取得已鎖定 CPMM 部位元資料
curl --request GET \
  --url https://dynamic-ipfs.raydium.io/lock/cpmm/position
{
  "poolInfo": {
    "id": "<string>",
    "mintA": {
      "address": "<string>",
      "decimals": 123,
      "symbol": "<string>"
    },
    "mintB": {
      "address": "<string>",
      "decimals": 123,
      "symbol": "<string>"
    },
    "lpMint": {
      "address": "<string>",
      "decimals": 123,
      "symbol": "<string>"
    },
    "lpPrice": 123
  },
  "positionInfo": {
    "tvlPercentage": 123,
    "usdValue": 123,
    "amountA": 123,
    "amountB": 123,
    "unclaimedFee": {
      "lp": 123,
      "amountA": 123,
      "amountB": 123,
      "usdValue": 123
    }
  }
}

查詢參數

id
string
必填

已鎖定 CPMM 部位 PDA 公鑰(base58 格式)

回應

Success

包含流動性池詳情和估值的完整 CPMM 已鎖定部位

poolInfo
object
必填

Constant Product Market Maker 流動性池資訊

positionInfo
object
必填

CPMM 已鎖定部位狀態