# LaunchLabs

Raydium LaunchLab bonding curve integration for token launches with automated liquidity provision.

### POST `/launchpad/create-unsigned`

Create an **unsigned** transaction for a Raydium LaunchLab bonding curve deployment.

{% hint style="warning" %}
Requires JWT authentication.

Send `Authorization: Bearer <token>`.
{% endhint %}

#### Request body

```json
{
  "tokenMint": "TokenMintAddress...",
  "tokenAmount": "1000000000000",
  "targetMarketCap": "100000"
}
```

#### Field notes

* `tokenAmount` is expressed in the token’s **smallest unit** (respecting the mint’s `decimals`).
* `targetMarketCap` is the target value used by the bonding curve configuration (as configured by your deployment).

#### Response (`200 OK`)

```json
{
  "transaction": "base64_encoded_transaction",
  "bondingCurveId": "bonding_curve_identifier",
  "expectedLaunchTime": "2024-01-15T12:00:00Z"
}
```

#### What to do with the response

1. Decode and **sign** the returned `transaction` with the user wallet.
2. **Submit** the signed transaction to Solana.
3. Track progress via the status endpoint below.

***

### GET `/launchpad/:mintAddress/status`

Get bonding curve status and progress for a token launch.

#### Path parameters

* `mintAddress` (string) — Solana token mint address

#### Response (`200 OK`)

```json
{
  "bondingCurveId": "bonding_curve_identifier",
  "status": "active",
  "currentMarketCap": "45000",
  "targetMarketCap": "100000",
  "progress": 45,
  "tokensSold": "450000000000",
  "totalTokens": "1000000000000",
  "solCollected": "45.5",
  "createdAt": "2024-01-01T12:00:00Z"
}
```

### Related

* [DEX integration](/api-reference/readme/dex-integration.md)
* [Tokens](/api-reference/readme/tokens.md)
* [Error handling](/api-reference/readme/error-handling.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.taxsplit.app/api-reference/readme/launchlabs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
