Initialize the AppKit before using examples on this page.
EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs. By providing this address and the recipient’s TON wallet contract address, AppKit knows which tokens to send and to whom.
To deploy and mint a new jetton on the mainnet without writing code, use the dedicated official tool: TON MINTER.
Metadata
Retrieve metadata about a specific jetton, such as its name, symbol, and decimals:Jetton wallet address
Each jetton holder has a dedicated jetton wallet contract. To resolve its address for a given owner:Balance
Similar to Toncoin balance checks, discrete one-off checks have limited value on their own and continuous monitoring should be used for UI display. Unlike Toncoin, the balance units and decimal places vary between jettons — use thedecimals field from the jetton’s metadata to interpret raw amounts correctly.
USDT has a decimal precision of 6, meaning that the fractional balance string '0.1' represents a balance of 0.1 USDT, or 100000 micro USDT (raw units).
On-demand balance check
Do not store the balance check results anywhere in the wallet service’s state, as they become outdated quickly. For UI purposes, do continuous balance monitoring.
Single jetton
Check the balance of a specific jetton for the connected TON wallet or an arbitrary address:All jettons
Retrieve every jetton held by the connected TON wallet or an arbitrary address:Continuous balance monitoring
Poll the balance at regular intervals to keep the displayed value up to date. Use an appropriate interval based on UX requirements — shorter intervals provide fresher data but increase API usage. Modify the following example according to the application logic:Transfers
Funds at riskEach jetton stores the
decimals parameter in its metadata. Transferring without accounting for decimals can result in sending drastically more or fewer tokens than intended.Mitigation: Verify the correct decimals value before calculating transfer amounts. For USDTs, the decimals value is 6.