POST
/
v1
/
dex
/
{chain}
/
create
Dex - Create Token
curl --request POST \
  --url https://api-dex.chainstream.io/v1/dex/{chain}/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dex": "raydium",
  "userAddress": "oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7",
  "priorityFee": "1000",
  "name": "Candy Token",
  "symbol": "CANDY",
  "uri": "https://assets.candyproject.com/token/icon.png",
  "image": "https://assets.candyproject.com/token/icon.png",
  "extra": {
    "decimals": 6,
    "migrateType": "amm",
    "slippage": 100,
    "buyAmount": 0,
    "supply": 1000000000000000,
    "totalSellA": 793100000000000,
    "totalFundRaisingB": 85000000000,
    "totalLockedAmount": 0,
    "cliffPeriod": 0,
    "unlockPeriod": 0,
    "shareFeeReceiver": "oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7",
    "shareFeeRate": 1000
  }
}'
{
  "serializedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
  "mintAddress": "So11111111111111111111111111111111111111112"
}

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.