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

# Update Creator Fee Receiver

> Transfer creator fee receiver rights to a new wallet.

Both the current creator and the new receiver must sign the transaction. The pool must have:
- Fee claim status set to "Processed" (no pending claims)
- Fee distribution set to "Creator" mode

After the transfer, the new receiver can claim future creator trading fees.



## OpenAPI

````yaml /openapi.json post /tx/pro/update-creator-fee-receiver
openapi: 3.1.0
info:
  title: heaven-tx-api
  description: ''
  license:
    name: ''
  version: 0.1.14
servers:
  - url: https://tx.api.heaven.xyz
security: []
tags:
  - name: heaven-api
    description: Heaven API
paths:
  /tx/pro/update-creator-fee-receiver:
    post:
      tags:
        - Pro Pool API
      summary: Update Creator Fee Receiver
      description: >-
        Transfer creator fee receiver rights to a new wallet.


        Both the current creator and the new receiver must sign the transaction.
        The pool must have:

        - Fee claim status set to "Processed" (no pending claims)

        - Fee distribution set to "Creator" mode


        After the transfer, the new receiver can claim future creator trading
        fees.
      operationId: create_pro_update_creator_fee_receiver_tx
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProUpdateCreatorFeeReceiverTxRequest'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProUpdateCreatorFeeReceiverTxResponse'
components:
  schemas:
    ProUpdateCreatorFeeReceiverTxRequest:
      type: object
      required:
        - pool
        - mint
        - version
        - payer
        - new_receiver
        - program_id
      properties:
        pool:
          type: string
          description: >-
            On-chain address of the pro pool state account. Returned in the
            response when creating a pool.
        mint:
          type: string
          description: Mint address of the SPL token (token A) in the pool.
        version:
          type: integer
          format: int32
          minimum: 0
          description: Protocol config version for the pool.
        payer:
          type: string
          description: Public key of the wallet that will sign and pay for the transaction.
        new_receiver:
          type: string
          description: >-
            Public key of the new wallet that will receive future creator
            trading fees. This wallet must also sign the transaction.
        program_id:
          type: string
          description: >-
            Program ID of the Heaven DEX program. Use
            `HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o` for mainnet.
        compute_unit_limit:
          type: integer
          format: int32
          minimum: 0
          nullable: true
          description: >-
            Maximum compute units for the transaction. Higher values allow more
            complex operations but cost more. Defaults to a sensible value if
            omitted.
        compute_unit_price:
          type: integer
          format: int64
          minimum: 0
          nullable: true
          description: >-
            Priority fee in micro-lamports per compute unit. Higher values
            increase transaction priority. Defaults to a sensible value if
            omitted.
      description: >-
        Transfer the creator fee receiver to a new wallet. Both the current
        creator and the new receiver must sign the transaction. The pool must
        have its fee claim status set to "Processed" and fee distribution set to
        "Creator".
    ProUpdateCreatorFeeReceiverTxResponse:
      type: object
      required:
        - tx
      properties:
        tx:
          type: string
          description: >-
            Base64 encoded versioned transaction. Requires two signatures: the
            current creator (index 0) and the new receiver (index 1).

````