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

# Register the strategy

> Attach the strategy to the launched coin. `registered: false` with a `reason` means the launch is not confirmed or indexed yet; wait and retry. `dropped: true` means the chain has no record of the transaction at all. A 503 means a payout asset could not be checked just now; try again in a moment.



## OpenAPI

````yaml /openapi.json post /pons/register/submit
openapi: 3.1.0
info:
  title: PURPS API
  version: 2.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 Pons; wire an
    existing pump.fun coin's fees into a strategy; steer a coin you own. No key,
    no signup. A launch is one call that returns unsigned transactions: the
    launch transaction can only land with your wallet's signature, and that is
    the proof. The few writes that need a message signature (Pons launches,
    wiring a strategy onto a coin, creator authority) come as a prepare/submit
    pair. 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. Every answer from the API itself carries
    `RateLimit-Limit` and `RateLimit-Policy`; uncached ones (writes, prepare and
    submit, refusals) carry `RateLimit-Remaining` and `RateLimit-Reset` as well.
    The 503 while the API is paused and the 410 on old v1 write addresses carry
    neither.
servers:
  - url: https://purps.lol/api/v2
security: []
tags:
  - name: Coins
    description: Read what the site shows.
  - name: Launch on purps.lol
    description: Launch a coin on purps.lol. Build, sign, send, poll.
  - name: Launch on pump.fun
    description: Launch straight on pump.fun with fees wired to a strategy.
  - name: Launch on Pons
    description: Launch through Pons, the launchpad 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: Creator authority
    description: >-
      Steer a purps.lol coin you own: act on a position, change its strategy,
      ask for authority, or hand the coin on. Every move is signed by the
      owner's wallet and published on the coin's Changes tab.
  - name: Transactions
    description: Send a signed Solana transaction through our relay and watch it land.
paths:
  /pons/register/submit:
    post:
      tags:
        - Launch on Pons
      summary: Register the strategy
      description: >-
        Attach the strategy to the launched coin. `registered: false` with a
        `reason` means the launch is not confirmed or indexed yet; wait and
        retry. `dropped: true` means the chain has no record of the transaction
        at all. A 503 means a payout asset could not be checked just now; try
        again in a moment.
      operationId: submitPonsRegister
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PonsRegisterSubmit'
      responses:
        '200':
          description: Registered, or why not yet.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/PonsRegisterResult'
        '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'
        '409':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          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'
        '503':
          description: Every failure carries the same envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PonsRegisterSubmit:
      type: object
      description: 'Everything in PonsRegisterTerms, plus:'
      properties:
        name:
          type: string
          description: The coin's name.
          required: true
        symbol:
          type: string
          description: The coin's ticker.
          required: true
        imageUrl:
          type: string
          description: The coin's logo, an http(s) link.
          nullable: true
        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
    PonsRegisterResult:
      type: object
      properties:
        registered:
          type: boolean
          description: True once the strategy is attached.
        alreadyRegistered:
          type: boolean
          description: >-
            True when this launch had a strategy attached before this call;
            nothing changed.
          nullable: true
        mintAddress:
          type: string
          description: The coin's address.
          nullable: true
        symbol:
          type: string
          description: Its ticker.
          nullable: true
        url:
          type: string
          description: Its page.
          nullable: true
        curve:
          type: string
          description: The Pons curve contract the coin trades on, on a fresh registration.
          nullable: true
        reason:
          type: string
          description: >-
            When not registered: why not yet (`launch not confirmed yet`,
            `launch not indexed yet`, or the chain has no record of the
            transaction).
          nullable: true
        dropped:
          type: boolean
          description: >-
            When not registered: true when the chain has no record of the
            transaction at all, so retrying will not help; false when it is
            simply not confirmed yet.
          nullable: true
    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`.

````