POST
/
token-launch
/
create-config
Create token launch config creation transaction
curl --request POST \
  --url https://public-api-v2.bags.fm/api/v1/token-launch/create-config \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "launchWallet": "<string>",
  "tipWallet": "<string>",
  "tipLamports": 123
}'
{
  "success": true,
  "response": {
    "tx": "<string>",
    "configKey": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

API key authentication. Provide your API key as the header value.

Body

application/json
launchWallet
string
required

Public key of the wallet to create config for

tipWallet
string

Base58 encoded Solana public key of the tip recipient wallet

tipLamports
number

Tip amount in lamports

Response

Successfully created token launch config

success
boolean
required
Example:

true

response
object