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

# Deploy a token

> Launch a token on a supported launchpad, on Solana or an EVM chain.

> [!NOTE]
>
> **Both hosts serve this path**, but the request bodies differ. Solana amounts
> are integer **lamports**; EVM amounts are integer **wei strings**. Each host
> rejects the other's fields rather than ignoring them, so a body written for
> one chain will not run on the other.

## Choosing a host

Pick the host from the chain you are launching on, and use that host's key —
keys are not interchangeable.

| | Solana | EVM |
| - | - | - |
| Host | `https://eu.solana.bloombot.app` `https://us.solana.bloombot.app` | `https://evm.bloombot.app` |
| Key prefix | `blm_sol_live_…` | `blm_evm_live_…` |
| Chains | Solana | `rbh`, `bsc`, `arc`, `ink` |
| `chain` field | not used | optional, **defaults to `rbh`** |
| Creator wallet | base58 address | `0x` + 40 hex |

The two Solana regions are interchangeable — same account, wallets, keys, and
request format. See [Regions](https://dev.bloombot.app/concepts/chains.md#regions).

> [!WARNING]
>
> The chains that serve **deploys** are not the same as the ones that serve
> **swaps**. `ink` deploys but does not swap; `eth` and `base` swap but do not
> deploy. Don't reuse a swap's `chain` value without checking it here first.

Because `chain` defaults to `rbh`, an EVM deploy that omits it launches on
Robinhood. Set it explicitly for every other chain.

## Amounts

This is the most common source of broken deploy requests.

| | Solana | EVM |
| - | - | - |
| Creator buy | `creator_buy_sol_amount`, integer lamports | `creator_buy_wei`, integer **string** in wei |
| Bundled buy | `buys[].sol_amount`, integer lamports | `buys[].amount_wei`, integer **string** in wei |
| Priority fee | `creator_priority_fee_sol` / `buys[].priority_fee_sol`, decimal SOL | — |
| Bundle tip | `jito_tip`, integer lamports | — |

```json theme={null}
// Solana — a 0.1 SOL creator buy
{ "creator_buy_sol_amount": 100000000 }

// EVM — a 0.01 ETH creator buy
{ "creator_buy_wei": "10000000000000000" }
```

> [!NOTE]
>
> On EVM every amount is a **string**, never a JSON number — an integer of up to
> 78 digits. Sending a number fails with `INVALID_REQUEST` naming the field and
> the expected type. Solana amounts are the opposite: plain integers, except the
> priority fees, which are decimal SOL.

### Fields the EVM host rejects

These are Solana-only. The EVM host **rejects** them with `INVALID_REQUEST`
(`<field> is not supported on EVM`) rather than ignoring them, so strip them
when porting a body across:

* `creator_buy_sol_amount`
* `jito_tip`
* `mint_private_key`
* `creator_priority_fee_sol`
* `buys[].sol_amount` and `buys[].priority_fee_sol`

`bundle_mode: "sniper"` is Solana-only too, but fails with
`INVALID_BUNDLE_MODE` instead.

## Launchpads by chain

`configs` takes at least one entry, and at most one per `dex` — a repeat fails
with `DUPLICATE_DEX`. On EVM, `dex` is matched case-insensitively and must be
allowed on the chain you selected; anything else fails with
`INVALID_DEX_CONFIG`, and the message lists the ones that are.

| Host | `chain` | Allowed `dex` values |
| - | - | - |
| Solana | — | `pump_fun`, `bags`, `bonk` |
| EVM | `rbh` (default) | `flap`, `bags`, `ponsv2`, `launchproof` |
| EVM | `bsc` | `flap`, `fourmeme` |
| EVM | `arc` | `warp`, `sharc`, `tolly`, `radardex`, `o1`, `arguspad`, `foci` |
| EVM | `ink` | `tsunami`, `inkypump` |

> [!WARNING]
>
> **`bags` exists on both hosts with different `data` shapes.** Solana takes
> `fee_claimers`, a list of objects each carrying its own `bps`. EVM takes two
> parallel arrays, `claimers` and `percent`. Neither shape works on the other
> host.

`trench` is not available on the public API and is rejected with
`INVALID_REQUEST`.

## Launchpad `data` rules

Each entry in `configs` is `dex` plus a `data` object holding that launchpad's
own settings. `data` must be an object; on EVM, omitting it is treated as an
empty object.

Throughout these tables:

* **wei** — an integer string, up to 78 digits.
* **addr** — `0x` followed by 40 hex characters.
* **hash32** — `0x` followed by 64 hex characters.
* **bps** — basis points, where 10000 = 100%.
* Fields are optional unless marked **required**.

A rule failure returns `400 INVALID_DEX_CONFIG` with a message naming the index
of the offending entry.

### EVM

> [accordion] flap — Robinhood, BNB Chain
>
> | Field | Rule |
> | - | - |
> | `buy_tax_bps` | **required**, 1–10000 |
> | `sell_tax_bps` | **required**, 1–10000 |
> | `quote_token` | addr |
> | `mkt_bps`, `deflation_bps`, `dividend_bps`, `lp_bps` | 0–10000 |
> | `anti_farmer_s` | integer ≥ 0 |
> | `minimum_share_balance` | wei |

> [accordion] bags — Robinhood
>
> | Field | Rule |
> | - | - |
> | `creation_fee_wei` | wei |
> | `claimers` | array of addr |
> | `percent` | array of numbers, at most 2 decimal places |
>
> The fee split uses **parallel arrays**: `claimers` and `percent` must be the
> same length, and `percent` must total exactly `100` (10000 bps). Send both
> or neither. An invalid split fails with `BAGS_FEE_CLAIMER_BPS_INVALID`.

> [accordion] ponsv2 — Robinhood
>
> | Field | Rule |
> | - | - |
> | `pair_token` | addr |
> | `creator_tax_bps` | 0–1000 |

> [accordion] launchproof — Robinhood
>
> `data` is passed through as sent. The API applies no rules of its own, so
> any error surfaces at launch time rather than on validation.

> [accordion] fourmeme — BNB Chain
>
> | Field | Rule |
> | - | - |
> | `pre_sale_wei` | wei — **defaults to `creator_buy_wei`** |
> | `quote_token` | addr |
> | `label` | one of `Meme`, `AI`, `Defi`, `Games`, `Infra`, `De-Sci`, `Social`, `Depin`, `Charity`, `Others` |
> | `token_tax` | object, see below |
>
> `token_tax` is optional, but sending it brings its own rules:
>
> | Field | Rule |
> | - | - |
> | `fee_rate` | **required**, 1–10 |
> | `fee_rate_sell` | 1–10 |
> | `min_sharing` | **required**, ≥ 0 |
> | `burn_rate`, `divide_rate`, `liquidity_rate` | **required**, 0–100 |
> | `recipient_rate`, `giggle_charity_rate`, `binance_charity_rate` | 0–100 |
> | `recipient_address` | **required when `recipient_rate` > 0** |
>
> Those six rates — `burn_rate`, `divide_rate`, `liquidity_rate`,
> `recipient_rate`, `giggle_charity_rate` and `binance_charity_rate` — must
> total **exactly 100**.

> [accordion] warp — Arc
>
> | Field | Rule |
> | - | - |
> | `min_tokens_out` | wei |
> | `destination` | `0` (WarpDex V2) or `1` (Uniswap V4) |
> | `tax` | object, see below |
>
> `tax` is optional, but sending it brings its own rules:
>
> | Field | Rule |
> | - | - |
> | `buy_tax_bps`, `sell_tax_bps` | 0–10000 |
> | `creator_bps`, `burn_bps`, `dividend_bps`, `liquidity_bps` | **required**, 0–10000, totalling **exactly 10000** |
> | `min_dividend_balance` | wei |
> | `anti_farmer_days` | 0–3650 |
> | `tax_recipient` | addr |
>
> The four allocation fields are the same set `arguspad` uses, and all four
> must be present even when one is zero.

> [accordion] sharc — Arc
>
> | Field | Rule |
> | - | - |
> | `creation_fee`, `usdc_in`, `min_tokens_out` | wei |
> | `deadline_secs` | 1–86400 |

> [accordion] tolly — Arc
>
> | Field | Rule |
> | - | - |
> | `dev_buy_usdc` | wei |

> [accordion] radardex — Arc
>
> | Field | Rule |
> | - | - |
> | `variant` | `v2` or `reflection` |
> | `initial_buy` | wei |

> [accordion] foci — Arc
>
> | Field | Rule |
> | - | - |
> | `creator_tax_bps` | 0–1000 |
> | `creator_fee_recipient` | addr |
> | `dev_buy_usdc`, `min_tokens_out` | wei |

> [accordion] o1 — Arc
>
> | Field | Rule |
> | - | - |
> | `config_version` | **required**, integer ≥ 0 |
> | `quote` | addr |
> | `token_bytecode_hash`, `salt` | hash32 |
> | `native_launch_fee`, `min_amount_out` | wei |
> | `deadline_secs` | 1–300 |

> [accordion] arguspad — Arc
>
> | Field | Rule |
> | - | - |
> | `start_fdv`, `bond_fdv` | **required**, wei — `bond_fdv` must be greater than `start_fdv` |
> | `token_salt`, `hook_salt` | **required**, hash32 |
> | `total_supply`, `dev_buy_amount` | wei |
> | `portal`, `quote_asset` | addr |
> | `buy_tax_bps`, `sell_tax_bps` | 0–1000 |
> | `creator_bps`, `burn_bps`, `dividend_bps`, `liquidity_bps` | **required**, totalling **exactly 10000** |
>
> The four split fields are top-level in `data`, not nested.

> [accordion] tsunami — Ink
>
> | Field | Rule |
> | - | - |
> | `target_raise` | wei, **at most 10 ETH** |
> | `min_amount_out`, `launch_fee_wei` | wei |
> | `fee_share` | array of objects, each with `destination` (addr, **required**) and `share_bps` (1–10000, **required**) |

> [accordion] inkypump — Ink
>
> | Field | Rule |
> | - | - |
> | `target_raise` | wei, **1–5 ETH** when set |
> | `creator_fee_split_bps` | 0–10000 |
> | `gain_bps` | 0–200000 |
> | `start_time` | integer ≥ 0 |

> [!NOTE]
>
> These rules are checked by the API before the launch is submitted. Passing
> them does not guarantee the launchpad itself will accept the configuration —
> a rejection downstream also comes back as `INVALID_DEX_CONFIG`.

> [!WARNING]
>
> **Arc denominates in USDC, and the decimals are worth confirming.** Arc's
> native gas token is USDC, but the native unit and the ERC-20 view of USDC do
> not use the same number of decimals. Before launching on `arc` with real
> value, test `creator_buy_wei`, `buys[].amount_wei` and the `*_usdc` config
> fields with a small amount and check what actually lands.

### Solana

> [accordion] pump\_fun
>
> | Field | Rule |
> | - | - |
> | `is_mayhem_mode` | **required**, boolean |
> | `is_cashback_enabled` | **required**, boolean |
> | `quote_mint` | `"sol"` or `"usdc"` |
> | `fee_share_recipients` | array of objects with `address`, `user_id`, `platform` (`pump`, `x`, or `github`) and `share_bps` |
> | `is_charity_mode`, `donate_gg_config_id`, `charity_donation_bps` | charity settings |
> | `tokenized_agent`, `tokenized_agent_buyback_bps`, `tokenized_agent_authority` | tokenized-agent settings |

> [accordion] bags
>
> | Field | Rule |
> | - | - |
> | `fee_claimers` | **required**, array of objects with either `wallet_address` or `provider` + `username`, plus an integer `bps` |
> | `fee_config_type` | optional |
>
> `bps` across all claimers must total 10000, or the deploy fails with
> `BAGS_FEE_CLAIMER_BPS_INVALID`. Bags launches also require
> `metadata.description` (`BAGS_DESCRIPTION_REQUIRED`).

> [accordion] bonk
>
> | Field | Rule |
> | - | - |
> | `mode` | **required**, `balanced` or `bonkers` |
> | `quote_token` | optional |

## Bundled buys

`buys` names wallets that buy the token in the same bundle as the launch. Every
one must belong to your account.

Every entry needs an amount, in that host's field — `sol_amount` on Solana,
`amount_wei` on EVM. A buy carrying neither is rejected.

> [!NOTE]
>
> **On EVM, `buys` requires `bundle_mode`.** Sending buys without one fails with
> `INVALID_BUNDLE_MODE`. Each `amount_wei` must also be greater than zero.

| `bundle_mode` | Solana | EVM |
| - | - | - |
| `packed` | ✓ | ✓ |
| `non_packed` | ✓ — caps the number of buyer wallets | ✓ — caps the number of buyer wallets |
| `sniper` | ✓ | rejected |

`non_packed` has a maximum number of buyer wallets; exceeding it fails with
`NON_PACKED_TOO_MANY_BUYS`. Switch to `packed` or send fewer buys.

## Distributions

`distributions` sends part of the launched supply to wallets you name, straight
after the deploy.

> [!NOTE]
>
> **Distributions require a creator buy on both hosts.** Sending any
> distribution without `creator_buy_sol_amount` (Solana) or a non-zero
> `creator_buy_wei` (EVM) fails with `DISTRIBUTIONS_REQUIRE_CREATOR_BUY`.

Percentages are basis points and total at most 10000 across all entries;
exceeding that fails with `DISTRIBUTION_PERCENTAGE_EXCEEDS_CAP`. On the EVM
host each entry must set **exactly one** of `amount` or `percentage`, and the
recipient may not be the creator wallet — that fails with
`INVALID_DISTRIBUTION_WALLET`.

## Reading the response

Both hosts return the same envelope:

```json theme={null}
{
  "success": true,
  "data": {
    "mint_addresses": ["<token address>"],
    "landed_txs": [
      {
        "kind": "deploy",
        "dex": "flap",
        "mint": "<token address>",
        "signature": "<tx hash>",
        "landed": true,
        "reverted": false
      }
    ]
  }
}
```

`landed` and `reverted` are **EVM-only**; Solana entries carry only `kind`,
`dex`, `mint` and `signature`.

> [!WARNING]
>
> **On EVM, judge success by `landed`, not by the presence of a hash.** A hash
> only means a node accepted the transaction. `landed: true` is the only field
> that means it is on chain, and `reverted: true` means it was mined and
> failed — treat that as a failure even though the request returned `200`.

## Retrying a failed deploy

A `500` with code `INTERNAL` means the deploy could not be completed. It is
safe to retry.

Every other deploy error is a validation failure: the host stops at the first
problem it finds, so fix the error in front of you and resend. See
[Deploy errors](https://dev.bloombot.app/concepts/errors.md#deploy-errors) for the full code list and
which host returns each one.

## Examples

> [tab] Solana
>
> ```bash theme={null}
> curl -X POST "https://eu.solana.bloombot.app/api/v1/deploy" \
>   -H "Authorization: Bearer blm_sol_live_YOUR_KEY_HERE" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "wallet_address": "<YOUR_WALLET>",
>     "metadata": {
>       "name": "My Token",
>       "symbol": "MTK",
>       "description": "A community token launched via Bloom.",
>       "image_url": "https://example.com/token-logo.png"
>     },
>     "configs": [
>       { "dex": "pump_fun", "data": { "is_mayhem_mode": false, "is_cashback_enabled": false } }
>     ],
>     "creator_buy_sol_amount": 100000000,
>     "buys": [
>       { "wallet_address": "<YOUR_SECOND_WALLET>", "sol_amount": 50000000, "priority_fee_sol": 0.0001 }
>     ],
>     "bundle_mode": "packed",
>     "jito_tip": 1000000,
>     "slippage_bps": 1000
>   }'
> ```

> [tab] EVM
>
> ```bash theme={null}
> curl -X POST "https://evm.bloombot.app/api/v1/deploy" \
>   -H "Authorization: Bearer blm_evm_live_YOUR_KEY_HERE" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "chain": "rbh",
>     "wallet_address": "0x<YOUR_WALLET>",
>     "metadata": {
>       "name": "My Token",
>       "symbol": "MTK",
>       "description": "A community token launched via Bloom.",
>       "image_url": "https://example.com/token-logo.png"
>     },
>     "configs": [
>       { "dex": "flap", "data": { "buy_tax_bps": 100, "sell_tax_bps": 100 } }
>     ],
>     "creator_buy_wei": "10000000000000000",
>     "bundle_mode": "packed",
>     "buys": [
>       { "wallet_address": "0x<YOUR_SECOND_WALLET>", "amount_wei": "5000000000000000" }
>     ],
>     "distributions": [
>       { "wallet_address": "0x<YOUR_THIRD_WALLET>", "percentage": 2500 }
>     ],
>     "slippage_bps": 1000
>   }'
> ```

Only `chain` and `configs` change between EVM chains:

```json theme={null}
// BNB Chain — four.meme. pre_sale_wei defaults to creator_buy_wei.
{ "chain": "bsc", "configs": [{ "dex": "fourmeme", "data": { "label": "Meme" } }] }

// Arc — Warp. destination 0 = WarpDex V2, 1 = Uniswap V4.
{ "chain": "arc", "configs": [{ "dex": "warp", "data": { "destination": 0 } }] }

// Ink — inkypump. target_raise must be 1-5 ETH.
{ "chain": "ink", "configs": [{ "dex": "inkypump", "data": { "target_raise": "2000000000000000000" } }] }
```


## OpenAPI

````yaml openapi.yaml POST /api/v1/deploy
openapi: 3.1.0
info:
  title: Bloom API
  version: 1.0.0
  description: |
    Programmatic trading and token-deploy API for Bloom. Drive swaps and token
    launches with a personal API key authenticated as a Bearer token.
servers:
  - url: https://eu.solana.bloombot.app
    description: Solana — EU
  - url: https://us.solana.bloombot.app
    description: Solana — US
  - url: https://evm.bloombot.app
    description: EVM
security:
  - bearerAuth: []
tags:
  - name: Trading
    description: Execute swaps across your wallets.
  - name: Deploy
    description: Launch new tokens.
  - name: Utility
    description: Connection probes and account lookups.
paths:
  /api/v1/deploy:
    post:
      tags:
        - Deploy
      summary: Deploy a token
      description: |
        Launch a new token, on Solana or on an EVM chain. Both hosts serve this
        path and return the same response envelope, but **the request bodies
        differ**: amounts are integer lamports on Solana and integer **wei
        strings** on EVM, and each host rejects the other's fields rather than
        ignoring them. Pick the host from the chain you are launching on.

        The creator wallet and every wallet in `buys` must belong to your
        account, or the deploy fails with `INVALID_WALLET_ADDRESS` — deploy does
        **not** use the swap host's `WALLET_NOT_OWNED` code.

        See [Deploy a token](/api-reference/deploy) for the launchpads available
        on each chain and the per-launchpad `data` rules.
      operationId: deploy
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeployRequest'
            examples:
              solanaPumpFun:
                summary: Solana — pump.fun with a bundled buyer
                value:
                  wallet_address: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                  metadata:
                    name: My Token
                    symbol: MTK
                    description: A community token launched via Bloom.
                    image_url: https://example.com/token-logo.png
                    twitter: https://x.com/mytoken
                    website: https://mytoken.xyz
                  configs:
                    - dex: pump_fun
                      data:
                        is_mayhem_mode: false
                        is_cashback_enabled: false
                  creator_buy_sol_amount: 100000000
                  buys:
                    - wallet_address: 9mZWxyz1234567890abcdef
                      sol_amount: 50000000
                      priority_fee_sol: 0.001
                  bundle_mode: packed
                  jito_tip: 5000000
                  slippage_bps: 500
              evmFlap:
                summary: EVM — Robinhood Flap with a bundled buyer and a distribution
                value:
                  chain: rbh
                  wallet_address: '0x1111111111111111111111111111111111111111'
                  metadata:
                    name: My Token
                    symbol: MTK
                    description: A community token launched via Bloom.
                    image_url: https://example.com/token-logo.png
                  configs:
                    - dex: flap
                      data:
                        buy_tax_bps: 100
                        sell_tax_bps: 100
                  creator_buy_wei: '10000000000000000'
                  bundle_mode: packed
                  buys:
                    - wallet_address: '0x2222222222222222222222222222222222222222'
                      amount_wei: '5000000000000000'
                  distributions:
                    - wallet_address: '0x3333333333333333333333333333333333333333'
                      percentage: 2500
                  slippage_bps: 1000
              evmFourMeme:
                summary: EVM — BNB Chain four.meme, no bundled buys
                value:
                  chain: bsc
                  wallet_address: '0x1111111111111111111111111111111111111111'
                  metadata:
                    name: My Token
                    symbol: MTK
                    description: A community token launched via Bloom.
                    image_url: https://example.com/token-logo.png
                  configs:
                    - dex: fourmeme
                      data:
                        label: Meme
                  creator_buy_wei: '10000000000000000'
                  slippage_bps: 1000
      responses:
        '200':
          description: Deploy accepted.
          headers:
            X-RateLimit-Limit-Minute:
              description: Configured per-minute limit.
              schema:
                type: integer
            X-RateLimit-Limit-Hour:
              description: Configured per-hour limit.
              schema:
                type: integer
            X-RateLimit-Limit-Week:
              description: Configured per-week limit.
              schema:
                type: integer
            X-RateLimit-Remaining-Minute:
              description: Requests remaining in the current minute window.
              schema:
                type: integer
            X-RateLimit-Remaining-Hour:
              description: Requests remaining in the current hour window.
              schema:
                type: integer
            X-RateLimit-Remaining-Week:
              description: Requests remaining in the current week window.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeployResponse'
        '400':
          description: >
            Bad request. Codes: INVALID_REQUEST, INVALID_IMAGE_URL,

            INVALID_BUNDLE_MODE, DUPLICATE_DEX, INVALID_DEX_CONFIG,

            INVALID_WALLET_ADDRESS, INVALID_BUY_WALLET,

            INVALID_DISTRIBUTION_WALLET, INSUFFICIENT_BALANCE,

            DISTRIBUTION_PERCENTAGE_EXCEEDS_CAP,
            DISTRIBUTIONS_REQUIRE_CREATOR_BUY,

            NON_PACKED_TOO_MANY_BUYS, BAGS_DESCRIPTION_REQUIRED (Solana only),

            BAGS_FEE_CLAIMER_BPS_INVALID, BUNDLE_SIMULATION_FAILED.

            See [Deploy errors](/concepts/errors#deploy-errors) for which codes

            each host returns.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: |
            Unauthorized. Codes: UNAUTHORIZED (your Bearer token is missing,
            malformed, unknown, or revoked) and INVALID_AUTH_TOKEN (a
            server-side credential was rejected — not your key; see
            [Deploy errors](/concepts/errors#deploy-errors)).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Too many requests. Code: RATE_LIMITED. The rejected request is not
            counted against your budget.
          headers:
            Retry-After:
              description: Seconds until the blocking window resets.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            Internal server error (code `INTERNAL`). The deploy could not be
            completed — safe to retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DeployRequest:
      type: object
      required:
        - wallet_address
        - metadata
        - configs
      properties:
        chain:
          type: string
          enum:
            - rbh
            - bsc
            - arc
            - ink
          default: rbh
          description: >
            **EVM host only.** The chain to launch on, matched
            case-insensitively. **Defaults to `rbh` (Robinhood)**, so a deploy
            on any other chain must set it explicitly. An unrecognised value
            fails with `INVALID_REQUEST`, and the error lists the supported
            chains. Not used on the Solana host, where the host is the chain.


            The chains that serve deploys are not the same as the ones that
            serve swaps — `ink` deploys but does not swap, and `eth` and `base`
            swap but do not deploy. See [Chains and quote
            assets](/concepts/chains).
        wallet_address:
          type: string
          description: >
            Creator wallet — a base58 address on Solana, `0x` followed by 40 hex
            characters on EVM. Must belong to your account.
        metadata:
          $ref: '#/components/schemas/TokenMetadata'
        configs:
          type: array
          minItems: 1
          description: >
            One entry per launchpad, at least one and at most one per `dex` — a
            repeated `dex` fails with `DUPLICATE_DEX`. Use the Solana shape on
            the Solana host and the EVM shape on the EVM host.
          items:
            anyOf:
              - $ref: '#/components/schemas/DexConfig'
              - $ref: '#/components/schemas/EvmDexConfig'
        creator_buy_sol_amount:
          type: integer
          format: int64
          description: >
            **Solana only.** The creator's own buy, in lamports. On the EVM host
            use `creator_buy_wei`; sending this field there fails with
            `INVALID_REQUEST`.
        creator_buy_wei:
          type: string
          description: >
            **EVM host only.** The creator's own buy, as an integer string in
            wei. Omitted or `"0"` means no creator buy. A non-zero value is
            required whenever you send `distributions`.
        buys:
          type: array
          description: >
            Bundled buyer wallets, each of which must belong to your account. On
            the EVM host, `buys` **requires** `bundle_mode` — sending buys
            without one fails with `INVALID_BUNDLE_MODE`.
          items:
            $ref: '#/components/schemas/BuyConfig'
        bundle_mode:
          type: string
          enum:
            - packed
            - non_packed
            - sniper
          description: >
            How bundled buys are submitted. `sniper` is **Solana only** — the
            EVM host accepts `packed` and `non_packed` and rejects anything else
            with `INVALID_BUNDLE_MODE`. `non_packed` caps the number of buyer
            wallets (`NON_PACKED_TOO_MANY_BUYS`); `packed` does not.
        jito_tip:
          type: integer
          format: int64
          description: >
            **Solana only.** Bundle tip, in lamports. Rejected by the EVM host
            with `INVALID_REQUEST`.
        slippage_bps:
          type: integer
          format: int64
          description: |
            Slippage tolerance in basis points. On the EVM host, 0-10000.
        distributions:
          type: array
          description: >
            Post-deploy transfers of the launched token to wallets you name.
            **Requires a creator buy on both hosts** — `creator_buy_sol_amount`
            on Solana, a non-zero `creator_buy_wei` on EVM. Without one the
            deploy fails with `DISTRIBUTIONS_REQUIRE_CREATOR_BUY`.
          items:
            $ref: '#/components/schemas/Distribution'
        mint_private_key:
          type: string
          description: >
            **Solana only.** A custom or vanity mint keypair. Rejected by the
            EVM host with `INVALID_REQUEST`.
        creator_priority_fee_sol:
          type: number
          description: >
            **Solana only.** The creator transaction's priority fee, in SOL as a
            decimal (not lamports). Rejected by the EVM host with
            `INVALID_REQUEST`.
    DeployResponse:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          required:
            - mint_addresses
            - landed_txs
          properties:
            mint_addresses:
              type: array
              items:
                type: string
            landed_txs:
              type: array
              items:
                $ref: '#/components/schemas/LandedTx'
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type:
                - string
                - 'null'
    TokenMetadata:
      type: object
      description: >
        Token metadata. `name`, `symbol` and `image_url` are required on both
        hosts. `description` is required on Solana, and enforced again there for
        Bags launches (`BAGS_DESCRIPTION_REQUIRED`); the EVM host does not
        validate it. It is listed as required below because this schema covers
        both hosts — always send one.
      required:
        - name
        - symbol
        - description
        - image_url
      properties:
        name:
          type: string
        symbol:
          type: string
        description:
          type: string
        image_url:
          type: string
          description: >
            An `http(s)://` URL. Empty or malformed values fail with
            `INVALID_IMAGE_URL`.
        twitter:
          type: string
        website:
          type: string
    DexConfig:
      description: |
        **Solana host.** A DEX configuration; the JSON shape is
        `{ "dex": <pump_fun|bags|bonk>, "data": <variant config> }`. `trench` is
        not available on the public API and is rejected with `INVALID_REQUEST`.
      oneOf:
        - $ref: '#/components/schemas/PumpFunDexConfig'
        - $ref: '#/components/schemas/BagsDexConfig'
        - $ref: '#/components/schemas/BonkDexConfig'
      discriminator:
        propertyName: dex
        mapping:
          pump_fun: '#/components/schemas/PumpFunDexConfig'
          bags: '#/components/schemas/BagsDexConfig'
          bonk: '#/components/schemas/BonkDexConfig'
    EvmDexConfig:
      type: object
      description: |
        **EVM host.** A launchpad configuration; the JSON shape is
        `{ "dex": <launchpad id>, "data": <launchpad settings> }`. `dex` is
        matched case-insensitively and must be allowed on the `chain` you
        selected — otherwise the deploy fails with `INVALID_DEX_CONFIG`, and the
        message lists the launchpads that are. See
        [Launchpads by chain](/api-reference/deploy#launchpads-by-chain) for the
        chain matrix and the per-launchpad `data` rules.
      required:
        - dex
      properties:
        dex:
          type: string
          enum:
            - flap
            - bags
            - ponsv2
            - launchproof
            - fourmeme
            - warp
            - sharc
            - tolly
            - radardex
            - o1
            - arguspad
            - foci
            - tsunami
            - inkypump
        data:
          type: object
          additionalProperties: true
          description: >
            That launchpad's own settings. Must be an object; omitting it is
            treated as `{}`. Invalid contents fail with `INVALID_DEX_CONFIG`,
            and the message names the index of the offending entry.
    BuyConfig:
      type: object
      description: >
        A bundled buyer wallet. An amount is **required**, but which field
        carries it depends on the host: `sol_amount` on Solana, `amount_wei` on
        EVM. Only `wallet_address` is listed as required below because this
        schema covers both hosts — a buy with no amount is rejected either way.
        The EVM host rejects the Solana fields with `INVALID_REQUEST` rather
        than ignoring them.
      required:
        - wallet_address
      properties:
        wallet_address:
          type: string
          description: >
            A wallet that belongs to you. A malformed address fails with
            `INVALID_BUY_WALLET`; one that is not yours fails with
            `INVALID_WALLET_ADDRESS`.
        sol_amount:
          type: integer
          format: int64
          description: >
            **Solana only, and required there.** Amount to buy with, in
            lamports.
        priority_fee_sol:
          type: number
          description: '**Solana only.** Priority fee in SOL, as a decimal.'
        amount_wei:
          type: string
          description: >
            **EVM host only, and required there.** Amount to buy with, as an
            integer string in wei. Must be greater than zero.
    Distribution:
      type: object
      description: >
        A post-deploy transfer of the launched token. Requires a creator buy on
        both hosts (`DISTRIBUTIONS_REQUIRE_CREATOR_BUY`), and percentages across
        all entries total at most 10000 bps
        (`DISTRIBUTION_PERCENTAGE_EXCEEDS_CAP`).
      required:
        - wallet_address
      properties:
        wallet_address:
          type: string
          description: >
            Recipient wallet. On the EVM host this may **not** be the creator
            wallet — that fails with `INVALID_DISTRIBUTION_WALLET`.
        amount:
          type:
            - integer
            - string
          description: >
            An absolute amount: an integer on the Solana host, an integer **wei
            string** on the EVM host.
        percentage:
          type: integer
          format: int32
          description: >
            A share in basis points; on the EVM host, 1-10000. **The EVM host
            requires exactly one** of `amount` or `percentage` per entry.
    LandedTx:
      type: object
      description: >
        One submitted transaction. `landed` and `reverted` are **EVM-only
        additions** — Solana entries carry only the first four fields.
      required:
        - kind
        - dex
        - mint
        - signature
      properties:
        kind:
          type: string
          description: What the transaction did, e.g. the deploy itself or a bundled buy.
        dex:
          type: string
          description: The launchpad this transaction was submitted to.
        mint:
          type: string
          description: The token's mint address (Solana) or contract address (EVM).
        signature:
          type: string
          description: The transaction signature on Solana, or the transaction hash on EVM.
        landed:
          type: boolean
          description: >
            **EVM only.** True once the transaction is confirmed on chain. This
            is the only field that means the transaction actually landed — a
            hash on its own only means a node accepted it.
        reverted:
          type: boolean
          description: >
            **EVM only.** True when the transaction was mined but failed. Treat
            it as a failure even though the request returned `200`.
    PumpFunDexConfig:
      type: object
      required:
        - dex
        - data
      properties:
        dex:
          type: string
          const: pump_fun
        data:
          $ref: '#/components/schemas/PumpFunDeployConfig'
    BagsDexConfig:
      type: object
      required:
        - dex
        - data
      properties:
        dex:
          type: string
          const: bags
        data:
          $ref: '#/components/schemas/BagsDeployConfig'
    BonkDexConfig:
      type: object
      required:
        - dex
        - data
      properties:
        dex:
          type: string
          const: bonk
        data:
          $ref: '#/components/schemas/BonkDeployConfig'
    PumpFunDeployConfig:
      type: object
      required:
        - is_mayhem_mode
        - is_cashback_enabled
      properties:
        is_mayhem_mode:
          type: boolean
        is_cashback_enabled:
          type: boolean
        quote_mint:
          type: string
          description: e.g. "sol" / "usdc".
        fee_share_recipients:
          type: array
          items:
            $ref: '#/components/schemas/FeeShareRecipient'
        is_charity_mode:
          type: boolean
        donate_gg_config_id:
          type: string
        charity_donation_bps:
          type: integer
        tokenized_agent:
          type: boolean
        tokenized_agent_buyback_bps:
          type: integer
        tokenized_agent_authority:
          type: string
    BagsDeployConfig:
      type: object
      required:
        - fee_claimers
      properties:
        fee_claimers:
          type: array
          items:
            $ref: '#/components/schemas/BagsFeeClaimer'
        fee_config_type:
          type: string
    BonkDeployConfig:
      type: object
      required:
        - mode
      properties:
        mode:
          type: string
          enum:
            - balanced
            - bonkers
        quote_token:
          type: string
    FeeShareRecipient:
      type: object
      required:
        - share_bps
      properties:
        address:
          type: string
        user_id:
          type: string
        platform:
          type: string
          enum:
            - pump
            - x
            - github
        share_bps:
          type: integer
    BagsFeeClaimer:
      type: object
      required:
        - bps
      properties:
        wallet_address:
          type: string
        provider:
          type: string
        username:
          type: string
        bps:
          type: integer
          format: int64
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your Bloom API key, e.g. `Authorization: Bearer blm_sol_live_…`. Create
        one in Bloom Manager → Manage API Keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.