Moonshot
Moonshot - 铸造
使用 Moonshot 协议在 Solana 上创建新代币
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Token creation parameters
交易的 DEX 标识符
Available options:
raydium
, meteora
, pumpfun
, moonshot
, jupiter
Example:
"raydium"
发起交易的钱包公钥
Required string length:
8 - 64
Example:
"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"
代币名称
Required string length:
1 - 32
Example:
"My Token"
代币符号/代号
Required string length:
1 - 10
Example:
"MTK"
代币迁移目标 DEX
Available options:
RAYDIUM
, METEORA
, UNISWAP
Example:
"RAYDIUM"
代币图标 URL (Base64 或 HTTPS)
Example:
"https://assets.mytoken.com/icon.png"
代币描述
Maximum length:
1000
Example:
"A revolutionary new token for the Solana ecosystem"
社交媒体和网站链接
Example:
[
{
"label": "website",
"url": "https://mytoken.com"
},
{
"label": "twitter",
"url": "https://twitter.com/mytoken"
}
]
代币总供应量(基本单位)
Example:
"1000000000"
优先费用,以 SOL 增加交易处理速度
Example:
"0.000001"
横幅图片 URL (如未提供则使用图标)
Example:
"https://assets.mytoken.com/banner.png"
Response
200 - application/json
Base64 编码的交易
Example:
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
创建代币的额外元数据
Example:
{
"tokenId": "token_123456",
"token": {
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"decimals": 9
}
}
此页面对您有帮助吗?