> ## 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.

# Dapatkan akumulasi creator fee untuk suatu wallet

> Mengambil semua pool CPMM di mana wallet ini adalah kreator, beserta akumulasi creator fee yang belum diklaim per pool. Mengembalikan array kosong jika wallet tidak memiliki creator fee yang tersimpan dalam cache.

**Catatan:** Endpoint ini melakukan cache data pengguna secara berkala. Aktivitas creator fee yang sangat baru mungkin tidak langsung muncul.




## OpenAPI

````yaml /id/api-reference/openapi/temp-api-v1.yaml get /cp-creator-fee
openapi: 3.0.3
info:
  title: Temp API
  description: >
    Tempat penampungan sementara untuk endpoint berumur pendek yang belum
    memiliki lokasi permanen di Raydium API utama.

    Endpoint dalam layanan ini dapat berubah, dihentikan, atau dipindahkan tanpa
    pemberitahuan.


    **Peringatan stabilitas:** Layanan ini mengutamakan iterasi cepat dengan
    jaminan stabilitas API yang minimal.

    Gunakan hanya untuk jalur non-kritis, alat internal, atau fitur yang sedang
    dalam pengembangan aktif.
  version: 1.0.0
  contact:
    name: Raydium
    url: https://raydium.io
servers:
  - url: https://temp-api-v1.raydium.io
    description: Mainnet
  - url: https://temp-api-v1-devnet.raydium.io
    description: Devnet
security: []
tags:
  - name: Temporary
    description: Endpoint sementara (tidak stabil)
paths:
  /cp-creator-fee:
    get:
      tags:
        - Temporary
      summary: Dapatkan akumulasi creator fee untuk suatu wallet
      description: >
        Mengambil semua pool CPMM di mana wallet ini adalah kreator, beserta
        akumulasi creator fee yang belum diklaim per pool. Mengembalikan array
        kosong jika wallet tidak memiliki creator fee yang tersimpan dalam
        cache.


        **Catatan:** Endpoint ini melakukan cache data pengguna secara berkala.
        Aktivitas creator fee yang sangat baru mungkin tidak langsung muncul.
      operationId: getCpCreatorFee
      parameters:
        - name: wallet
          in: query
          required: true
          description: Public key wallet (base58)
          schema:
            type: string
            example: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatorFeeResponse'
        '400':
          description: Alamat wallet tidak valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Kesalahan server
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    CreatorFeeResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: array
          description: Array pool beserta akumulasi creator fee-nya
          items:
            $ref: '#/components/schemas/CreatorFeeItem'
      required:
        - success
        - data
    ErrorResponse:
      type: object
      properties:
        id:
          type: string
        success:
          type: boolean
          example: false
        msg:
          type: string
          description: Pesan kesalahan
      required:
        - success
        - msg
    CreatorFeeItem:
      type: object
      description: Satu pool CPMM dengan akumulasi creator fee
      properties:
        poolInfo:
          type: object
          description: Metadata pool (struktur bervariasi; lihat skema pada pools API)
        poolKey:
          type: object
          description: Kunci konfigurasi pool
        fee:
          $ref: '#/components/schemas/FeeAmount'
      required:
        - poolInfo
        - poolKey
        - fee
    FeeAmount:
      type: object
      description: Jumlah fee yang terakumulasi dalam satuan token mentah
      properties:
        amountA:
          type: string
          description: Jumlah creator fee untuk token A (dalam satuan terkecil)
        amountB:
          type: string
          description: Jumlah creator fee untuk token B (dalam satuan terkecil)
      required:
        - amountA
        - amountB

````