curl --request POST \
--url https://builder.snek.fun/launch \
--header 'Content-Type: multipart/form-data' \
--form '[email protected]' \
--form 'info={
"assetType":"Meme",
"name":"DAVE",
"ticker":"DAVE",
"description":"A sample token launch",
"launchType":"DEFAULT",
"initialDeposit":"1000000",
"changeAddress":"addr1...",
"utxos":"splash-wallet"
}'
{
"id": "launch-01...",
"cbor": "84a500...",
"partial": true,
"assetId": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8.44415645",
"assetSubject": "44415645",
"policyId": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8",
"logoCID": "bafybeigdyrzt5...",
"userOutputTokens": "1000000000"
}
Transaction Builder API
Launch a token
Create and deploy a new token with its bonding curve
POST
/
launch
curl --request POST \
--url https://builder.snek.fun/launch \
--header 'Content-Type: multipart/form-data' \
--form '[email protected]' \
--form 'info={
"assetType":"Meme",
"name":"DAVE",
"ticker":"DAVE",
"description":"A sample token launch",
"launchType":"DEFAULT",
"initialDeposit":"1000000",
"changeAddress":"addr1...",
"utxos":"splash-wallet"
}'
{
"id": "launch-01...",
"cbor": "84a500...",
"partial": true,
"assetId": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8.44415645",
"assetSubject": "44415645",
"policyId": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8",
"logoCID": "bafybeigdyrzt5...",
"userOutputTokens": "1000000000"
}
Builds the transaction that creates a new token, deploys its bonding curve, and (optionally) seeds the creator’s initial buy. The request body is
multipart/form-data.
If info.collaterals are omitted, the builder signs the transaction before returning it. If info.collaterals are provided explicitly, the returned CBOR remains unsigned.
Auth: Public
Form fields
Response
Whether the returned transaction is partial. It is
true when info.collaterals are omitted and false when they are provided explicitly.curl --request POST \
--url https://builder.snek.fun/launch \
--header 'Content-Type: multipart/form-data' \
--form '[email protected]' \
--form 'info={
"assetType":"Meme",
"name":"DAVE",
"ticker":"DAVE",
"description":"A sample token launch",
"launchType":"DEFAULT",
"initialDeposit":"1000000",
"changeAddress":"addr1...",
"utxos":"splash-wallet"
}'
{
"id": "launch-01...",
"cbor": "84a500...",
"partial": true,
"assetId": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8.44415645",
"assetSubject": "44415645",
"policyId": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8",
"logoCID": "bafybeigdyrzt5...",
"userOutputTokens": "1000000000"
}
Error response
Possible errors:400 INVALID_PARAMS— one or more required fields are missing, malformed, or fail validation.500 SERVER_ERROR— image processing, image upload, protocol config loading, mint data generation, transaction building, or optional signing failed.
{
"cause": "INVALID_PARAMS",
"message": "Invalid input"
}
Was this page helpful?