Overview
TonModule provides native TON blockchain operations including message signing, TON and Jetton transfers, balance queries, and network details. Access it via DynamicSDK.getInstance().ton.
Prerequisites
Get a TON Wallet
If TON is enabled in the developer console, the user gets a TON wallet on signup. Find it via userWallets, or create one explicitly with EmbeddedWalletChain.TON:
Get Balance
Query the TON balance for a wallet. Returned as a string (nanotons) to preserve precision.
Sign a Message
Sign a message using the connected TON wallet:
Send TON
Send TON tokens to a recipient address. Returns a TonTransactionResult containing the BOC and transaction hash.
Send Jettons
Send Jetton tokens (TON’s fungible token standard, similar to ERC-20):
Get Network Details
Query the chain ID and network name for the connected wallet:
Returned data class:
chainId — -239 for mainnet, -3 for testnet
name — "mainnet" or "testnet"
API Reference
Next Steps
Last modified on September 21, 2026