Actions9
Overview
This node interacts with TON Jetton tokens, a token standard on the TON blockchain. It supports various operations such as deploying a minter contract, retrieving and updating token metadata, minting new tokens, transferring tokens, burning tokens, querying prices, and buying or selling tokens.
The Mint operation specifically allows creating (minting) new tokens and assigning them to a recipient address. This is useful in scenarios where new tokens need to be issued, for example, rewarding users, distributing tokens in an ICO, or managing supply in a decentralized application.
Practical example: You have a governance token contract and want to mint 1000 tokens to a user’s wallet address after they complete a certain action in your app.
Properties
| Name | Meaning |
|---|---|
| Minter Address | The address of the GovernanceJettonMinter contract (required if the operation needs it). |
| Recipient Address | The address of the token recipient (used for mint and transfer operations). |
| Amount | The number of tokens to mint or transfer, specified in whole units without decimals. |
Output
The node outputs an array of JSON objects, each representing the parameters used for the requested operation. For the Mint operation, the output JSON includes:
{
"operation": "mint",
"minterAddress": "string", // The minter contract address
"recipient": "string", // The recipient's address
"amount": "string" // Number of tokens to mint (in whole units)
}
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for TON blockchain access (configured in n8n credentials).
- The node expects valid TON blockchain addresses (starting with EQ... or UQ...) for minter and recipient.
- Proper network connectivity to the TON blockchain or related services is necessary.
Troubleshooting
- Invalid Address Format: Ensure that the minter and recipient addresses are correctly formatted TON addresses (EQ... or UQ...).
- Missing Minter Address: For mint operations, the minter contract address must be provided; otherwise, the operation cannot proceed.
- Amount Not Numeric: The amount should be a numeric string representing whole tokens without decimals.
- Operation Not Supported: Selecting an unsupported operation or missing required parameters for the chosen operation will cause errors.
- Credential Issues: Make sure the API key or authentication token for TON blockchain access is correctly configured and has sufficient permissions.