API 文档
Dex Api
- WebSocket
- Jobs
- Transaction
- Dex
- Defi
- solana
- Moonshot
- Pumpfun
- Trade
- Token
- DexPool
- Ranking
- Wallet
- RedPacket
Dex SDK
- JavaScript
Moonshot
Moonshot - 铸造
使用 Moonshot 协议在 Solana 上创建新代币
POST
/
solana
/
moonshot
/
mint
Copy
Ask AI
curl --request POST \
--url https://api-dex.chainstream.io/solana/moonshot/mint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dex": "raydium",
"userAddress": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH",
"priorityFee": "0.000001",
"name": "My Token",
"symbol": "MTK",
"migrationDex": "RAYDIUM",
"icon": "https://assets.mytoken.com/icon.png",
"description": "A revolutionary new token for the Solana ecosystem",
"links": [
{
"label": "website",
"url": "https://mytoken.com"
},
{
"label": "twitter",
"url": "https://twitter.com/mytoken"
}
],
"banner": "https://assets.mytoken.com/banner.png",
"tokenAmount": "1000000000"
}'
Copy
Ask AI
{
"serializedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
"extra": {
"tokenId": "token_123456",
"token": {
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"decimals": 9
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Token creation parameters
The body is of type object
.
Response
200 - application/json
The response is of type object
.
此页面对您有帮助吗?
Copy
Ask AI
curl --request POST \
--url https://api-dex.chainstream.io/solana/moonshot/mint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dex": "raydium",
"userAddress": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH",
"priorityFee": "0.000001",
"name": "My Token",
"symbol": "MTK",
"migrationDex": "RAYDIUM",
"icon": "https://assets.mytoken.com/icon.png",
"description": "A revolutionary new token for the Solana ecosystem",
"links": [
{
"label": "website",
"url": "https://mytoken.com"
},
{
"label": "twitter",
"url": "https://twitter.com/mytoken"
}
],
"banner": "https://assets.mytoken.com/banner.png",
"tokenAmount": "1000000000"
}'
Copy
Ask AI
{
"serializedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
"extra": {
"tokenId": "token_123456",
"token": {
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"decimals": 9
}
}
}
助手
Responses are generated using AI and may contain mistakes.