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

# Collect Fees From Clmm Position

> Collect accumulated fees from a CLMM liquidity position.

Example:
    connector: 'meteora'
    network: 'solana-mainnet-beta'
    position_address: '...'
    wallet_address: (optional)

Returns:
    Transaction hash and collected fee amounts



## OpenAPI

````yaml /api-reference/openapi.json post /gateway/clmm/collect-fees
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /gateway/clmm/collect-fees:
    post:
      tags:
        - Gateway CLMM
      summary: Collect Fees From Clmm Position
      description: |-
        Collect accumulated fees from a CLMM liquidity position.

        Example:
            connector: 'meteora'
            network: 'solana-mainnet-beta'
            position_address: '...'
            wallet_address: (optional)

        Returns:
            Transaction hash and collected fee amounts
      operationId: collect_fees_from_clmm_position_gateway_clmm_collect_fees_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CLMMCollectFeesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CLMMCollectFeesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    CLMMCollectFeesRequest:
      properties:
        connector:
          type: string
          title: Connector
          description: CLMM connector (e.g., 'meteora', 'raydium', 'uniswap')
        network:
          type: string
          title: Network
          description: Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')
        position_address:
          type: string
          title: Position Address
          description: Position address to collect fees from
        wallet_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Wallet Address
          description: Wallet address (optional, uses default if not provided)
      type: object
      required:
        - connector
        - network
        - position_address
      title: CLMMCollectFeesRequest
      description: Request to collect fees from a CLMM position
    CLMMCollectFeesResponse:
      properties:
        transaction_hash:
          type: string
          title: Transaction Hash
          description: Transaction hash
        position_address:
          type: string
          title: Position Address
          description: Position address
        base_fee_collected:
          anyOf:
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Base Fee Collected
          description: Base token fees collected
        quote_fee_collected:
          anyOf:
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Quote Fee Collected
          description: Quote token fees collected
        status:
          type: string
          title: Status
          description: Transaction status
          default: submitted
      type: object
      required:
        - transaction_hash
        - position_address
      title: CLMMCollectFeesResponse
      description: Response after collecting fees
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````