POST
/
dex
/
{chain}
/
mint
curl --request POST \
  --url https://api-dex.chainstream.io/dex/{chain}/mint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dex": "raydium",
  "userAddress": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH",
  "priorityFee": "0.000001",
  "name": "Candy Token",
  "symbol": "CANDY",
  "uri": "https://assets.candyproject.com/token/icon.png",
  "mintAddress": "CandYQn9W1KTTN8QBN4mYwFDvJyYvHmKgkYhvJK3K8Jd"
}'
{
  "serializedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
  "elapsedTime": 245
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chain
enum<string>
required

A chain name listed in supported networks

Available options:
sol,
base

Body

application/json
Token creation parameters
dex
enum<string>
required

DEX identifier for the trade

Available options:
raydium,
meteora,
pumpfun,
moonshot,
jupiter
Example:

"raydium"

userAddress
string
required

Public key of the wallet initiating the transaction

Required string length: 8 - 64
Example:

"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"

name
string
required

Name of the token to be created

Required string length: 1 - 32
Example:

"Candy Token"

symbol
string
required

Token symbol/ticker

Required string length: 1 - 10
Example:

"CANDY"

uri
string
required

URI for token metadata (usually points to image or JSON)

Example:

"https://assets.candyproject.com/token/icon.png"

priorityFee
string

Priority fee in SOL to increase transaction processing speed

Example:

"0.000001"

mintAddress
string

Token mint address that requires signature for the transaction

Required string length: 32 - 44
Example:

"CandYQn9W1KTTN8QBN4mYwFDvJyYvHmKgkYhvJK3K8Jd"

Response

200 - application/json
serializedTx
string
required

Base64 encoded transaction

Example:

"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="

elapsedTime
number
required

Time taken to process the request in milliseconds

Example:

245