English
Create a new token with Moonshot protocol on Solana
cURL
curl --request POST \ --url https://api-dex.chainstream.io/v1/solana/moonshot/mint \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "dex": "moonshot", "userAddress": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH", "priorityFee": "1000", "tipFee": "1000", "isAntiMev": true, "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" }'
{ "serializedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "extra": { "tokenId": "token_123456", "token": { "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "decimals": 9 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token creation parameters
The body is of type object.
object
The response is of type object.
Was this page helpful?