POST /token/burn-and-lock
Burn and lock CPMM LP. The creator's locked position accrues trading fees
that can later be claimed via /token/claim-rewards.
Single on-chain tx. Burned LP is destroyed; locked LP generates a fee-bearing NFT held by the creator wallet.
Use case
CPMM launches where the creator wants trust + permanent liquidity signaling, plus an ongoing fee stream they can claim.
Body
| Field | Type | Required | Description |
|---|---|---|---|
sPoolId | string | yes | CPMM pool id owned by the caller. |
Creator wallet needs ~0.17 SOL on hand (burn fee + two lock fees).
Response 200
{
"sPoolId": "…",
"sSignature": "3k…"
}
Errors
| Status | Meaning |
|---|---|
400 | Creator has insufficient SOL. |
404 | Pool not found or not owned. |
Example
curl -X POST "$BASE_URL/token/burn-and-lock" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID" \
-H "Content-Type: application/json" \
-d '{ "sPoolId": "…" }'