Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
支持网络中列出的区块链名称
Available options:
sol
, base
, bsc
, polygon
, arbitrum
, optimism
, avalanche
, ethereum
, zksync
, sui
Body
application/json
Token creation parameters
交易的 DEX 标识符
Available options:
raydium
, pumpfun
, moonshot
, candy
, launchpad
Example:
"raydium"
发起交易的钱包公钥
Required string length:
8 - 64
Example:
"oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7"
要创建的代币名称
Required string length:
1 - 32
Example:
"Candy Token"
代币符号/代号
Required string length:
1 - 10
Example:
"CANDY"
优先费用,以 SOL 增加交易处理速度
Example:
"1000"
代币元数据 URI (通常指向图像或 JSON)
Example:
"https://assets.candyproject.com/token/icon.png"
代币图片URL(Base64或HTTPS)
Example:
"https://assets.candyproject.com/token/icon.png"
创建代币的额外元数据
Example:
{
"decimals": 6,
"migrateType": "amm",
"slippage": 100,
"buyAmount": 0,
"supply": 1000000000000000,
"totalSellA": 793100000000000,
"totalFundRaisingB": 85000000000,
"totalLockedAmount": 0,
"cliffPeriod": 0,
"unlockPeriod": 0,
"shareFeeReceiver": "oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7",
"shareFeeRate": 1000
}
Response
200 - application/json
用于代币创建的Base64编码交易
Example:
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
需要交易签名的代币铸造地址
Example:
"So11111111111111111111111111111111111111112"