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, burning tokens, querying prices, and buying or selling tokens.

The "Buy Tokens" operation specifically allows users to purchase tokens from a specified minter contract address. This is useful in scenarios where you want to automate token purchases within your workflows, for example, buying governance tokens for decentralized applications or acquiring utility tokens for services on the TON network.

Properties

Name Meaning
Minter Address The address of the GovernanceJettonMinter contract (required for the buy tokens operation).

Output

The node outputs an array of JSON objects, each representing the parameters used in the executed operation. For the "Buy Tokens" operation, the output JSON includes:

  • operation: The string "buyTokens" indicating the performed operation.
  • minterAddress: The address of the minter contract used to buy tokens.

Example output JSON for one item:

{
  "operation": "buyTokens",
  "minterAddress": "EQ... or UQ..."
}

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authentication with the TON blockchain network.
  • The node depends on the TON blockchain environment and the presence of a valid GovernanceJettonMinter contract address to perform token operations.
  • No additional external services are explicitly required beyond the TON network access.

Troubleshooting

  • Invalid or missing minter address: Ensure that the "Minter Address" property is correctly set to a valid GovernanceJettonMinter contract address. An incorrect or empty address will cause the operation to fail.
  • Authentication errors: Verify that the provided API key credential has sufficient permissions and is correctly configured.
  • Network issues: Connectivity problems with the TON blockchain can cause timeouts or failures; check network status and retry.
  • Operation not supported: If the operation parameter is incorrectly set or unsupported, the node may not execute as expected.

Links and References

Discussion