TON Jetton

Операции с Fun Jetton в сети TON

Overview

This node provides operations to interact with TON Jetton tokens, a type of token on the TON blockchain. It supports various token-related actions such as deploying a minter contract, retrieving and updating token metadata, minting new tokens, transferring tokens between addresses, burning tokens, querying prices, and buying or selling tokens.

Common scenarios where this node is useful include:

  • Managing custom tokens on the TON blockchain.
  • Automating token minting and transfers in decentralized applications.
  • Integrating token price queries and trading functionalities into workflows.
  • Deploying and managing governance minter contracts for token issuance.

For example, you could use this node to mint new tokens to a recipient address, transfer tokens between users, or update the metadata describing your token.

Properties

Name Meaning
Operation The action to perform. Options: Deploy Minter, Get Token Metadata, Update Token Metadata, Mint, Transfer, Burn, Get Prices, Buy Tokens, Sell Tokens.
Minter Address The address of the GovernanceJettonMinter contract (required for some operations).
Recipient Address The address of the token recipient (used for mint, transfer operations).
Amount The number of tokens involved in the operation, specified as a string representing whole tokens without decimals (used for mint, transfer, sellTokens).

Output

The node outputs an array of JSON objects, each containing the parameters used for the operation performed on each input item. The output JSON structure includes:

  • operation: The selected operation name.
  • minterAddress: The minter contract address if provided.
  • recipient: The recipient address for applicable operations.
  • amount: The amount of tokens involved for applicable operations.

No binary data output is indicated by the code.

Dependencies

  • Requires an API key credential for TON blockchain access (referred generically as "an API key credential").
  • The node expects the user to provide valid TON addresses (starting with EQ... or UQ...) for minter and recipient fields.
  • No external libraries beyond those bundled with n8n are explicitly required.

Troubleshooting

  • Invalid or missing minter address: Some operations require a valid minter contract address. Ensure the address is correctly formatted and provided.
  • Incorrect recipient address: For mint and transfer operations, the recipient address must be valid and properly formatted.
  • Amount format issues: The amount should be a string representing whole tokens without decimals. Providing invalid formats may cause errors.
  • Operation not supported: Selecting an unsupported operation value will result in no meaningful action.
  • Credential errors: Missing or invalid API authentication credentials will prevent interaction with the TON blockchain.

Links and References

Discussion