Skip to main content
POST
/
dbc-pool
/
create-tx
dbc-pool-create-tx
curl --request POST \
  --url https://lite-api.jup.ag/studio/v1/dbc-pool/create-tx \
  --header 'Content-Type: application/json' \
  --data '{
  "buildCurveByMarketCapParam": {
    "quoteMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "initialMarketCap": 16000,
    "migrationMarketCap": 69000,
    "tokenQuoteDecimal": 6,
    "lockedVestingParam": {
      "totalLockedVestingAmount": 123,
      "cliffUnlockAmount": 123,
      "numberOfVestingPeriod": 0,
      "totalVestingDuration": 0,
      "cliffDurationFromMigrationTime": 0
    }
  },
  "antiSniping": true,
  "fee": {
    "totalDuration": 60,
    "baseFeeMode": "linear",
    "feeBps": 100
  },
  "isLpLocked": true,
  "tokenName": "<string>",
  "tokenSymbol": "<string>",
  "tokenImageContentType": "image/jpeg",
  "creator": "<string>"
}'
{
  "transaction": "<string>",
  "mint": "<string>",
  "imagePresignedUrl": "<string>",
  "metadataPresignedUrl": "<string>",
  "imageUrl": "<string>"
}

Body

application/json
buildCurveByMarketCapParam
object
required
antiSniping
boolean
required
  • Enable anti-sniping protection
  • Apply an additional swap fee immediately after launch to discourage bots
  • Starts at 99% and decreases 1% linearly over a randomized period
fee
object
required
  • Fee configuration parameters
  • If not provided, the default fee will be 100 basis points (1%)
tokenName
string
required
Minimum length: 1
tokenSymbol
string
required
Minimum length: 1
tokenImageContentType
enum<string>
required
  • Token image content type
Available options:
image/jpeg,
image/png,
image/gif,
image/webp
creator
string
required
  • Creator wallet public key
isLpLocked
boolean
default:true
  • Whether LP tokens should be locked
  • If enabled, 50% of graduated LP unlocks after 1 year
  • Useful for creators to strategize in the long term

Response

Successful response

transaction
string
required

Base64-encoded transaction ready for signing

mint
string
required

Generated token mint address

imagePresignedUrl
string<uri>
required
metadataPresignedUrl
string<uri>
required
imageUrl
string<uri>
required

Final image URL

I