Skip to main content

Overview

TronModule provides native Tron blockchain operations including message signing, TRX and TRC20 token transfers, balance queries, and network details. Access it via DynamicSDK.instance().tron. Available since Swift SDK 1.8.0.

Prerequisites

Get a Tron Wallet

If Tron is enabled in the dashboard, the user gets a Tron wallet on signup. Find it via userWallets:

Get Balance

Query the TRX balance for a wallet. Returned as a string to preserve precision.

Get Network Details

Query the Tron network the wallet is connected to. Returns a TronNetworkDetails with the chain ID and network name:

Sign a Message

Sign a message using the connected Tron wallet:

Send a Balance

Send TRX, or a TRC20 token, to a recipient. Returns the transaction hash.

API Reference

Next Steps

Last modified on October 22, 2026