mint_coin
Deploy and mint new tokens of a custom coin on the Aptos Blockchain. Specify coin type, recipient address, and amount to increase total supply and transfer tokens securely.
Instructions
Mint new tokens of a previously deployed custom coin. Only the coin deployer can mint new tokens. This increases the total supply of the coin and sends the minted tokens to a specified recipient.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount of coins to mint (in the coin's base unit) | |
coin_type | Yes | The coin type identifier (e.g., '0x123::coin::T') | |
max_gas_amount | No | Maximum gas amount for the transaction (optional) | |
recipient_address | Yes | Address to receive the minted coins |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "Amount of coins to mint (in the coin's base unit)",
"type": "string"
},
"coin_type": {
"description": "The coin type identifier (e.g., '0x123::coin::T')",
"type": "string"
},
"max_gas_amount": {
"default": 3000,
"description": "Maximum gas amount for the transaction (optional)",
"type": "number"
},
"recipient_address": {
"description": "Address to receive the minted coins",
"type": "string"
}
},
"required": [
"coin_type",
"recipient_address",
"amount"
],
"type": "object"
}