spl-token_deployToken
Deploy an SPL token with Metaplex metadata, returning the mint address and unsigned transaction. Specify owner, name, symbol, decimals, initial supply, and metadata URI.
Instructions
Deploy a new SPL token with Metaplex metadata. Returns the mint address and an unsigned transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | URI to off-chain metadata JSON (image, description, etc.) | |
| name | Yes | Token name (stored in Metaplex metadata) | |
| owner | Yes | Token owner / mint authority wallet | |
| symbol | Yes | Token symbol (e.g. "MYTKN") | |
| decimals | No | Token decimals (default: 9) | |
| isMutable | No | Whether metadata is mutable (default: true) | |
| initialSupply | No | Raw token amount (smallest unit, no decimals) | |
| mintAuthority | No | Solana public key (base58) | |
| freezeAuthority | No | Solana public key (base58) | |
| sellerFeeBasisPoints | No | Royalty fee in bps (for fungible with metadata) |