Actions9
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 minters, retrieving and updating token metadata, minting, transferring, burning tokens, getting prices, and buying or selling tokens.
The "Get Prices" operation specifically allows users to retrieve current pricing information related to the tokens managed by a GovernanceJettonMinter contract. This can be useful for applications that need up-to-date token price data for trading, portfolio valuation, or analytics.
Practical examples:
- Fetching the latest token prices before executing a trade.
- Displaying token price information in a dashboard.
- Automating decisions based on token price fluctuations.
Properties
| Name | Meaning |
|---|---|
| Minter Address | The address of the GovernanceJettonMinter contract (e.g., starting with EQ... or UQ...). Required for operations involving interaction with a specific minter contract. |
Output
The node outputs an array of JSON objects, each representing the parameters used for the selected operation per input item. For the "Get Prices" operation, the output JSON includes:
{
"operation": "getPrices",
"minterAddress": "string"
}
operation: The string"getPrices"indicating the performed operation.minterAddress: The address of the GovernanceJettonMinter contract used to fetch prices.
No binary data is produced by this node.
Dependencies
- Requires an API key credential for TON blockchain access (configured in n8n credentials).
- The node depends on the TON blockchain network to query token data.
- Proper configuration of the TON mnemonic or authentication method is necessary to authorize requests.
Troubleshooting
- Missing or invalid Minter Address: If the minter address is not provided or incorrect, the node may fail to retrieve prices. Ensure the address is valid and corresponds to a deployed GovernanceJettonMinter contract.
- Authentication errors: Incorrect or missing API credentials will prevent communication with the TON blockchain.
- Network issues: Connectivity problems to the TON network can cause timeouts or failures.
- Unsupported operation: Selecting an operation other than those listed may result in errors.