跳转到主要内容
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 锁定头寸状态