POST
/
dex
/
v1
/
{chain}
/
mint
Dex - Mint
curl --request POST \
  --url https://api-dex.chainstream.io/dex/v1/{chain}/mint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dex": "jupiter",
  "userAddress": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH",
  "priorityFee": "1000",
  "tipFee": "1000",
  "isAntiMev": true,
  "name": "Candy Token",
  "symbol": "CANDY",
  "uri": "https://assets.candyproject.com/token/icon.png",
  "image": "https://assets.candyproject.com/token/icon.png",
  "mintAddress": "CandYQn9W1KTTN8QBN4mYwFDvJyYvHmKgkYhvJK3K8Jd",
  "extra": {
    "createOnly": true,
    "decimals": 6,
    "migrateType": "amm",
    "slippage": 100,
    "txVersion": "V0"
  }
}'
{
  "serializedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
  "extra": {
    "tokenId": "token_123456",
    "token": {
      "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
      "decimals": 9
    }
  }
}

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,
bsc,
polygon,
arbitrum,
optimism,
avalanche,
ethereum,
zksync,
sui

Body

application/json

Token creation parameters

The body is of type object.

Response

200 - application/json

The response is of type object.