T Link
click to showA regular TON transfer using the TON Connect JS SDKs can be executed with sample code that includes defining a transaction object with validUntil and messages fields, and then calling tonConnectUI.sendTransaction(transaction). The messages array specifies the recipient address and the amount in nanotons. Here's an example: import { useTonConnectUI } from '@tonconnect/ui-react'; export const Settings = () => { const [tonConnectUI] = useTonConnectUI(); const transaction = { validUntil: Math.floor(Date.now() / 1000) + 300, messages: [ { address: tonConnectUI.account.address, amount: '200000000' // 0.2 TON (in nanotons) }, { // Bounceable address address: 'EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c', amount: '100000000' }, { // Non-bounceable address address: 'UQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJKZ', amount: '100000000' } ] }; return ( <div> <button onClick={() => tonConnectUI.sendTransaction(transaction)}> Send transaction </button> </div> ); }; Source: TON transfer | The Open Network
T Link
click to showThere is no specific Java code example for transferring TON directly in the documentation. However, you can use the ton4j library for Java development on TON, which supports HTTP connectivity, core functionality, and emulation. You can find examples and usage patterns in the ton4j GitHub repository. For support, you can join the Telegram chat: @ton4java. When transferring TON, you will need the destination address, the amount in nanoTON (1 TON = 10⁹ nanoTON), and an optional comment in the message body. Source: SDKs overview
T TON Java development chatYou are always welcome to open issues on GitHub or ask questions here. The reason for poor public support was due to the fact that enterprise solutions required new features and prompt support. This also helped to make ton4j more mature and eventually become part of TON family. Java development using ton4j will be supported more carefully now.