dbc-pool-create-tx
curl --request POST \
--url https://api.jup.ag/studio/v1/dbc-pool/create-tx \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"buildCurveByMarketCapParam": {
"quoteMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"initialMarketCap": 16000,
"migrationMarketCap": 69000,
"tokenQuoteDecimal": 6,
"lockedVestingParam": {
"totalLockedVestingAmount": 0,
"cliffUnlockAmount": 0,
"numberOfVestingPeriod": 0,
"totalVestingDuration": 0,
"cliffDurationFromMigrationTime": 0
}
},
"antiSniping": true,
"fee": {
"feeBps": 100
},
"isLpLocked": true,
"tokenName": "My Token",
"tokenSymbol": "MTK",
"tokenImageContentType": "image/png",
"creator": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV"
}
'{
"transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAEN...",
"mint": "TokenMintAddressExample111111111111111111111",
"imagePresignedUrl": "https://storage.example.com/upload/image?token=abc123",
"metadataPresignedUrl": "https://storage.example.com/upload/metadata?token=def456",
"imageUrl": "https://storage.example.com/tokens/TokenMintAddressExample111111111111111111111/image.png"
}Studio
DBC Pool Create TX
Request for a base64-encoded unsigned transaction to create a Dynamic Bonding Curve pool with token metadata
POST
/
dbc-pool
/
create-tx
dbc-pool-create-tx
curl --request POST \
--url https://api.jup.ag/studio/v1/dbc-pool/create-tx \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"buildCurveByMarketCapParam": {
"quoteMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"initialMarketCap": 16000,
"migrationMarketCap": 69000,
"tokenQuoteDecimal": 6,
"lockedVestingParam": {
"totalLockedVestingAmount": 0,
"cliffUnlockAmount": 0,
"numberOfVestingPeriod": 0,
"totalVestingDuration": 0,
"cliffDurationFromMigrationTime": 0
}
},
"antiSniping": true,
"fee": {
"feeBps": 100
},
"isLpLocked": true,
"tokenName": "My Token",
"tokenSymbol": "MTK",
"tokenImageContentType": "image/png",
"creator": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV"
}
'{
"transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAEN...",
"mint": "TokenMintAddressExample111111111111111111111",
"imagePresignedUrl": "https://storage.example.com/upload/image?token=abc123",
"metadataPresignedUrl": "https://storage.example.com/upload/metadata?token=def456",
"imageUrl": "https://storage.example.com/tokens/TokenMintAddressExample111111111111111111111/image.png"
}Authorizations
Get API key via https://developers.jup.ag/portal
Body
application/json
Show child attributes
Show child attributes
- 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 configuration parameters
- If not provided, the default fee will be 100 basis points (1%)
Show child attributes
Show child attributes
Minimum string length:
1Minimum string length:
1- Token image content type
Available options:
image/jpeg, image/png, image/gif, image/webp - Creator wallet public key
- 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
Base64-encoded transaction ready for signing
Generated token mint address
- Presigned URL for image upload via
PUTrequest - This is for you to make a PUT request to upload your token image to the on-chain uri metadata
- Refer to the Token Metadata section for better understanding
- Presigned URL for metadata upload via
PUTrequest - This is for you to make a PUT request to upload your token metadata to the on-chain uri metadata
- Refer to the Token Metadata section for better understanding
Final image URL
Was this page helpful?
⌘I
