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

# Create Pool Transaction

> Generate a transaction to create a new standard liquidity pool with a vanity mint address.

This creates a new Token-2022 mint, sets up metadata, creates the pool, toggles it live, and optionally executes an initial buy — all in a single transaction. The pool uses Heaven's standardized parameters (virtual SOL seeding, fixed fee structure).



## OpenAPI

````yaml /openapi.json post /tx/create-standard-liquidity-pool
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/create-standard-liquidity-pool:
    post:
      tags:
        - Standard Pool API
      summary: Create Pool Transaction
      description: >-
        Generate a transaction to create a new standard liquidity pool with a
        vanity mint address.


        This creates a new Token-2022 mint, sets up metadata, creates the pool,
        toggles it live, and optionally executes an initial buy — all in a
        single transaction. The pool uses Heaven's standardized parameters
        (virtual SOL seeding, fixed fee structure).
      operationId: create_standard_vanity_liquidity_pool_tx
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateStandardLiquidityPoolTxRequest'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateStandardLiquidityPoolTxResponse'
components:
  schemas:
    CreateStandardLiquidityPoolTxRequest:
      type: object
      required:
        - payer
        - creator
        - encoded_user_defined_event_data
        - name
        - uri
        - symbol
        - config_version
        - program_id
        - initial_purchase_amount
        - lut_address
      properties:
        compute_unit_limit:
          type:
            - integer
            - 'null'
          description: Compute unit limit for the transaction
          example: 400000
          minimum: 0
        compute_unit_price:
          type:
            - integer
            - 'null'
          description: Compute unit price for the transaction
          example: 2000000
          minimum: 0
        config_version:
          type: integer
          description: Protocol config version
          default: 1
          minimum: 0
        creator:
          type: string
          description: Creator of the liquidity pool
          example: 3N6yV1v1f6Yz8bX9n4bF7vZ5X9J8vY9X9J8vY9X9J8vY
        encoded_user_defined_event_data:
          type: string
          description: Arbitrary string data emitted as an on-chain event for tracking.
        initial_purchase_amount:
          type: integer
          description: >-
            Initial purchase amount of token A in native amount. Please use
            /quote/initial-buy to estimate required SOL amount.
          example: 1000000
          minimum: 0
        lut_address:
          type: string
          description: >-
            Please use `3DENDMbqpVuarsEvk3MYJMpcZqsrQanK8Z8cVeDf53oR` for
            Community Token (1), and
            `4utvsPEpB2EYKKAh1UXgRfVteYamYmoUnTvetQKvcZMA` for Creator Token (2)
          default: 3DENDMbqpVuarsEvk3MYJMpcZqsrQanK8Z8cVeDf53oR
          example: 3DENDMbqpVuarsEvk3MYJMpcZqsrQanK8Z8cVeDf53oR
        max_sol_spend:
          type:
            - number
            - 'null'
          description: Maximum amount of SOL to spend for the initial buy operation
          example: 1
        name:
          type: string
          description: Name of the token
          example: My Token
        payer:
          type: string
          description: Payer of the transaction
          example: 3N6yV1v1f6Yz8bX9n4bF7vZ5X9J8vY9X9J8vY9X9J8vY
        program_id:
          type: string
          description: Program ID of the Heaven DEX program
          default: HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o
          example: HEAVENoP2qxoeuF8Dj2oT1GHEnu49U5mJYkdeC8BAX2o
        symbol:
          type: string
          description: Symbol of the token
          example: MYTKN
        uri:
          type: string
          description: URI of the token metadata
          example: https://mytoken.com/metadata.json
    CreateStandardLiquidityPoolTxResponse:
      type: object
      required:
        - tx
        - mint
      properties:
        mint:
          type: string
          description: Mint address of the newly created token
        tx:
          type: string
          description: Base64 encoded transaction

````