> ## 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 المقفل

> جلب البيانات الوصفية لمركز صانع السوق ذي الناتج الثابت المقفل. يُرجع كميات رمز LP ونسبة حصة المجمع والرسوم القابلة للمطالبة من الحجز.




## OpenAPI

````yaml /ar/api-reference/openapi/dynamic-ipfs-v1.yaml get /lock/cpmm/position
openapi: 3.0.3
info:
  title: واجهة IPFS الديناميكية
  description: >
    إعادة توليد بيانات ووصور NFT الديناميكية لمراكز CLMM. تُستخدم من قبل
    التطبيقات اللامركزية لجلب العروض البصرية الفورية للمركز وبيانات التقييم، بما
    في ذلك تفاصيل المجمع والكميات والرسوم والمكافآت.


    تخزن هذه الخدمة البيانات الوصفية للمركز في IPFS وتقدم حالة المركز المحسوبة
    (القيمة بالدولار الأمريكي، نسبة 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: استرجاع البيانات الوصفية الديناميكية لمراكز صانع السيولة المركزة
  - name: Locked Positions
    description: استرجاع بيانات المركز المقفل (CLMM و CPMM)
paths:
  /lock/cpmm/position:
    get:
      tags:
        - Locked Positions
      summary: الحصول على البيانات الوصفية لمركز CPMM المقفل
      description: >
        جلب البيانات الوصفية لمركز صانع السوق ذي الناتج الثابت المقفل. يُرجع
        كميات رمز LP ونسبة حصة المجمع والرسوم القابلة للمطالبة من الحجز.
      operationId: getLockedCpmmPosition
      parameters:
        - name: id
          in: query
          required: true
          description: المفتاح العام للـ PDA الخاص بمركز CPMM المقفل (base58)
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CPNFTInterface'
        '400':
          description: معرّف المركز غير صحيح أو عدم تطابق المالك
          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: معلومات مجمع صانع السوق ذي الناتج الثابت
      properties:
        id:
          type: string
        mintA:
          $ref: '#/components/schemas/MintInfo'
        mintB:
          $ref: '#/components/schemas/MintInfo'
        lpMint:
          $ref: '#/components/schemas/MintInfo'
        lpPrice:
          type: number
          description: سعر رمز LP بالدولار الأمريكي
    CPPositionInfo:
      type: object
      description: حالة مركز CPMM المقفل
      properties:
        tvlPercentage:
          type: number
          description: حصة المجموعة كنسبة مئوية (0-100)
        usdValue:
          type: number
          description: قيمة LP المقفولة بالدولار الأمريكي
        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: عنوان mint الخاص بالرمز
        decimals:
          type: integer
          description: عدد فئات الرمز
        symbol:
          type: string
          description: رمز الرمز
    CPUnclaimedFeeInfo:
      type: object
      description: LP والرسوم القابلة للمطالبة من مركز CPMM المقفول
      properties:
        lp:
          type: number
          description: مبلغ LP القابل للمطالبة
        amountA:
          type: number
          description: الرمز A القابل للمطالبة
        amountB:
          type: number
          description: الرمز B القابل للمطالبة
        usdValue:
          type: number
          description: القيمة القابلة للمطالبة بالدولار الأمريكي

````