v1
latestOpenAPI 3.1.02026-07-13570316.1 KBSolana
Deploy Solana Token
Deploy a new SPL token or Token-2022 token on Solana. Creates a new mint account with the specified parameters and optionally mints initial supply.
Token Programs:
- spl-token: Standard SPL Token program - widely supported, recommended for most use cases
- token-2022: Token Extensions program - supports advanced features like transfer fees, interest-bearing tokens, etc.
Authentication: This endpoint requires backend authentication using the x-secret-key header. The secret key should never be exposed publicly.
post/v1/solana/deploy
Request body
Example request
{
"from": "8JBLmveV4YF5AQ7EVnKJgyj6etGgVkPp3tYqQMTu3p5B",
"chainId": "solana:devnet",
"name": "My Token",
"symbol": "MTK",
"decimals": 9,
"initialSupply": "1000000000000"
}Response
Token deployed successfully. Returns the transaction signature and mint address.
Example response
{
"result": {
"transactionId": "solana-tx-queue-id",
"mintAddress": "7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr"
}
}