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

# Build the pump.fun launch

> Step 2. Builds the pump.fun create transaction with the coin's creator fees already pointed at the coin's PURPS wallet. Sign with the creator wallet and the mint key, send through /transactions/send, then call /pumpfun/fees to lock the fee routing and /redirects to attach the strategy.



## OpenAPI

````yaml https://purps.lol/api/v1/openapi.json post /pumpfun/submit
openapi: 3.1.0
info:
  title: PURPS API
  version: 1.0.0
  description: >-
    Everything purps.lol can do, as JSON. Read the coin list, a coin's full page
    and the launchpad; launch coins on purps.lol, pump.fun and Robinhood Chain;
    wire an existing pump.fun coin's fees into a strategy. No key, no signup. A
    write is authorised by your own wallet's signature and every transaction is
    signed in your wallet, never by us. Every response is `{ ok: true, data }`
    or `{ ok: false, error }`. Cross-origin requests are allowed from any site.
servers:
  - url: https://purps.lol/api/v1
security: []
tags:
  - name: Coins
    description: Read what the site shows.
  - name: Launch on purps.lol
    description: Launch a coin on purps.lol. Prepare, sign, submit, send, poll.
  - name: Launch on pump.fun
    description: Launch straight on pump.fun with fees wired to a strategy.
  - name: Launch on Robinhood Chain
    description: Launch through Pons on Robinhood Chain.
  - name: Redirect a pump.fun coin
    description: Point an existing pump.fun coin's creator fees at a strategy.
  - name: Manage a coin
    description: Attach a strategy to a coin launched without one. Creator-signed.
  - name: Transactions
    description: Send a signed Solana transaction through our relay and watch it land.
paths:
  /pumpfun/submit:
    post:
      tags:
        - Launch on pump.fun
      summary: Build the pump.fun launch
      description: >-
        Step 2. Builds the pump.fun create transaction with the coin's creator
        fees already pointed at the coin's PURPS wallet. Sign with the creator
        wallet and the mint key, send through /transactions/send, then call
        /pumpfun/fees to lock the fee routing and /redirects to attach the
        strategy.
      operationId: submitPumpLaunch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PumpSubmit'
      responses:
        '200':
          description: The transactions to sign.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/SolanaBuild'
        '400':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PumpSubmit:
      type: object
      description: 'Everything in PumpTerms, plus:'
      properties:
        image:
          type: string
          description: >-
            The coin's logo as a data URL (`data:image/png;base64,…`). PNG,
            JPEG, WebP or GIF, 512KB max. Send this or `imageUrl`.
        imageUrl:
          type: string
          description: >-
            A public https link to the logo instead of `image`. Fetched by us
            under the same size and type rules.
        description:
          type: string
          description: Up to 500 characters.
        website:
          type: string
          description: https:// link. Defaults to the coin's purps.lol page.
        twitter:
          type: string
          description: https:// link.
        telegram:
          type: string
          description: https:// link.
        ts:
          type: integer
          description: The `ts` the prepare step returned.
          required: true
        signature:
          type: string
          description: >-
            Your wallet's signature over the prepared message. Base58 on Solana,
            0x-hex on Robinhood Chain.
          required: true
    SolanaBuild:
      type: object
      properties:
        mint:
          type: string
          description: The new coin's mint address.
        poolId:
          type: string
          description: The curve pool (purps.lol launches only).
          nullable: true
        transactions:
          type: array
          description: Base64 transactions to sign and send in order.
          items:
            type: string
        createIndex:
          type: integer
          description: >-
            Which of `transactions` is the create. Sign that one with the mint
            key as well.
        mintSecret:
          type: string
          description: >-
            The mint keypair's secret, base58. Powerless after the launch; use
            it once to countersign the create.
          nullable: true
        imageUrl:
          type: string
          description: Where the logo was stored.
          nullable: true
        url:
          type: string
          description: The coin's future page.
    Error:
      type: object
      properties:
        ok:
          type: boolean
          description: Always false on a failure.
        error:
          type: string
          description: >-
            A short reason in plain words: `coin not found`, `too many
            requests`, `invalid wallet signature`.

````