> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 잠금 CPMM 포지션 메타데이터 조회

> Constant Product Market Maker 잠금 포지션의 메타데이터를 조회합니다. LP 토큰 수량, 풀 점유 비율, 잠금으로 인한 청구 가능 수수료를 반환합니다.




## OpenAPI

````yaml /ko/api-reference/openapi/dynamic-ipfs-v1.yaml get /lock/cpmm/position
openapi: 3.0.3
info:
  title: Dynamic IPFS API
  description: >
    CLMM 포지션의 동적 NFT 메타데이터와 이미지를 재생성합니다. dApp이 실시간 포지션 비주얼 및 평가 데이터(풀 상세 정보, 수량,
    수수료, 보상)를 조회할 때 사용됩니다.


    이 서비스는 포지션 메타데이터를 IPFS에 캐시하고, 포지션 ID별로 계산된 포지션 상태(USD 가치, TVL 백분율, 청구 대기 중인
    수수료)를 제공합니다. CLMM 및 CPMM 풀 유형 모두에서 잠금 해제 및 잠금 포지션을 지원합니다.
  version: 1.0.0
  contact:
    name: Raydium
    url: https://raydium.io
servers:
  - url: https://dynamic-ipfs.raydium.io
    description: Mainnet
  - url: https://dynamic-ipfs-devnet.raydium.io
    description: Devnet
security: []
tags:
  - name: CLMM Position
    description: Concentrated Liquidity Market Maker 포지션의 동적 메타데이터 조회
  - name: Locked Positions
    description: 잠금 포지션 데이터 조회(CLMM 및 CPMM)
paths:
  /lock/cpmm/position:
    get:
      tags:
        - Locked Positions
      summary: 잠금 CPMM 포지션 메타데이터 조회
      description: >
        Constant Product Market Maker 잠금 포지션의 메타데이터를 조회합니다. LP 토큰 수량, 풀 점유 비율,
        잠금으로 인한 청구 가능 수수료를 반환합니다.
      operationId: getLockedCpmmPosition
      parameters:
        - name: id
          in: query
          required: true
          description: 잠금 CPMM 포지션 PDA 공개 키(base58)
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CPNFTInterface'
        '400':
          description: 유효하지 않은 포지션 ID 또는 소유자 불일치
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: 포지션을 찾을 수 없습니다
          content:
            text/plain:
              schema:
                type: string
        '500':
          description: 서버 오류
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    CPNFTInterface:
      type: object
      description: 풀 상세 정보 및 평가가 포함된 완전한 CPMM 잠금 포지션
      properties:
        poolInfo:
          $ref: '#/components/schemas/PoolInfoCPMM'
        positionInfo:
          $ref: '#/components/schemas/CPPositionInfo'
      required:
        - poolInfo
        - positionInfo
    PoolInfoCPMM:
      type: object
      description: Constant Product Market Maker 풀 정보
      properties:
        id:
          type: string
        mintA:
          $ref: '#/components/schemas/MintInfo'
        mintB:
          $ref: '#/components/schemas/MintInfo'
        lpMint:
          $ref: '#/components/schemas/MintInfo'
        lpPrice:
          type: number
          description: USD 기준 LP 토큰 가격
    CPPositionInfo:
      type: object
      description: CPMM 잠금 포지션 상태
      properties:
        tvlPercentage:
          type: number
          description: 풀 점유율 (0-100 백분율)
        usdValue:
          type: number
          description: 락된 LP 가치 (USD)
        amountA:
          type: number
          description: 토큰 A 기초 수량
        amountB:
          type: number
          description: 토큰 B 기초 수량
        unclaimedFee:
          $ref: '#/components/schemas/CPUnclaimedFeeInfo'
      required:
        - tvlPercentage
        - usdValue
        - amountA
        - amountB
        - unclaimedFee
    MintInfo:
      type: object
      properties:
        address:
          type: string
          description: 토큰 민트 주소
        decimals:
          type: integer
          description: 토큰 소수 자릿수
        symbol:
          type: string
          description: 토큰 심볼
    CPUnclaimedFeeInfo:
      type: object
      description: 락된 CPMM 포지션에서 청구 가능한 LP 및 수수료
      properties:
        lp:
          type: number
          description: 청구 가능한 LP 수량
        amountA:
          type: number
          description: 청구 가능한 토큰 A
        amountB:
          type: number
          description: 청구 가능한 토큰 B
        usdValue:
          type: number
          description: 청구 가능한 가치 (USD)

````