create_token_mint
Create a new SPL token mint. The signing wallet becomes the mint authority.
- Input:
wallet_id— the wallet that will own the mint authoritydecimals(optional, default:9) — decimal precision of the token
- Returns: Mint address, authority public key, transaction signature
This tool is registered in the tools index as
registerMintTokenTool — it handles both mint creation and token minting operations.mint_tokens
Mint new tokens from an existing mint. The signing wallet must hold the mint authority.
- Input:
wallet_id— the wallet with mint authoritymint— the token mint addressamount— number of tokens to mint (in human-readable units)to(optional) — recipient wallet address. Defaults to the signing wallet.
- Side effects: Automatically creates the recipient’s Associated Token Account (ATA) if it doesn’t exist.
- Returns: Transaction signature, minted amount, updated balance