Skip to main content

Overview

The TonModule provides native TON blockchain operations including message signing, TON and Jetton transfers, balance queries, and network details. Access it via DynamicSDK.instance.ton.

Prerequisites

Get Balance

Query the TON balance for a wallet.

Sign a Message

Sign a message using the connected TON wallet.

Send TON

Send TON tokens to a recipient address. Returns a map containing the boc (bag of cells) and hash of the transaction.
Exchanges routinely share one TON deposit address across many users and map an incoming deposit to a user via the transaction’s text comment. Pass that identifier as comment (native TON) or forwardPayload (Jettons), or the deposit won’t be credited.

Send Jettons

Send Jetton tokens (TON’s fungible token standard, similar to ERC-20) to a recipient.

Get Network Details

Query the network information for the connected wallet.
Returns a map with:
  • chainId - The chain identifier (e.g., -239 for mainnet, -3 for testnet)
  • name - The network name (e.g., mainnet, testnet)

Complete Example

API Reference

Next Steps

Last modified on July 2, 2026