# SolEnrich Stonk LaunchLab Preflight Validator

> SolEnrich Stonk LaunchLab Preflight Validator is a paid API for AI agents from api.solenrich.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Decodes and validates a Raydium LaunchLab initialize transaction against StonkFun's live pricing, detecting mismatches in pool config, curve, supply, fees, and transfer-fee field spelling before signing.

## Facts

- Endpoint: POST https://api.solenrich.com/entrypoints/stonk-launch-preflight/invoke
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solenrich-stonk-launchlab-preflight-validator-01f1261e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W5MQiHvjL7yOF5NNDMU46

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability solenrich-stonk-launchlab-preflight-validator-01f1261e -d '<json body>'
```

Example prompt: Before I sign this transaction, run a preflight check on my StonkFun LaunchLab initialize — here's the base64 unsigned transaction for quote mint So11111111111111111111111111111111111111112, mode standard, and give me the results as JSON so I can see any mismatches or warnings.

## When to prefer this

Use this endpoint specifically when you need to validate a Raydium LaunchLab pool initialize transaction against StonkFun's live pricing before signing — especially in reward mode where transfer-fee field misspellings (transferFeeBasePoints, maxinumFee) can silently corrupt the launch. Prefer this over generic transaction simulation when you need a semantic diff of pool parameters rather than just execution success.

## Known failure modes

- Invalid or malformed base64 transaction string returns a decode error
- Quote mint address not found in StonkFun pricing returns a pricing lookup failure
- Missing required unsigned_transaction field returns a 400 validation error
- Transaction does not contain a LaunchLab initialize instruction returns an extraction error
- Network timeout fetching StonkFun /launchlab/pricing returns a upstream error
- Invalid mode enum value returns a parameter error

## How this service works

Decodes the Raydium LaunchLab initialize in your unsigned transaction and diffs it against StonkFun's /launchlab/pricing for that quote + mode: GlobalConfig, platform id, curve, supply, totalSellA, raise, 6-decimal Token-2022 base mint, quote token program, curve-rule account last, and the reward-mode transfer fee (catches the transferFeeBasePoints / maxinumFee spelling). Returns ok, mismatches with fixes, warnings. A mismatched pool is never adopted.

## Output

Returns a JSON (or LLM-friendly text) object with: an 'ok' boolean, an array of mismatches each containing the parameter name, found value, expected value, and a suggested fix, plus a warnings array for non-blocking issues like misspelled field names (e.g. maxinumFee). If any mismatch is detected, the pool will not be adopted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "standard",
    "reward"
   ],
   "type": "string"
  },
  "format": {
   "enum": [
    "json",
    "llm",
    "both"
   ],
   "type": "string",
   "default": "json"
  },
  "quote_mint": {
   "type": "string",
   "maxLength": 44,
   "minLength": 32
  },
  "launch_params": {
   "type": "object",
   "description": "Optional: the params object passed to the SDK — linted for misspelled transfer-fee field names"
  },
  "unsigned_transaction": {
   "type": "string",
   "maxLength": 6000,
   "minLength": 64,
   "description": "Base64 unsigned transaction (legacy or v0) carrying the LaunchLab initialize"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solenrich-stonk-launchlab-preflight-validator-01f1261e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.solenrich.com](https://www.zero.xyz/host/api.solenrich.com/llms.txt)
