Skip to main content
Merkle Street

Protocols, markets, policy, people

How TRC-20 tokens work on TRON

TRC-20 tokens on TRON use contracts to track balances and manage transfers and spending permissions.

Merkle Street Newsroom#56c2f83 min read

How TRC-20 tokens work on TRON

A TRC-20 token is a fungible asset whose contract tracks balances and provides standard functions for transferring tokens and authorizing spending. Wallets and applications use the same contract interface, so a wallet can show your balance while an application can request permission to spend some of it.

Take USDD as a simple example. The token contract records how much USDD each address holds. A wallet reads an address’s amount with balanceOf; the wallet displays that result, while the contract remains the source of the token balance.

What happens when you transfer TRC-20 tokens?

A TRC-20 transfer runs as a contract call: the sender signs it, the contract executes it, and the resulting state records the new balances. In an ordinary USDD transfer, the contract subtracts the amount from the sender’s balance and adds it to the recipient’s balance. The token contract also emits a transfer event, which wallets and applications can use to update their displays. The [TRON TRC-20 interface](https://developers.tron.network/docs/trc20-protocol-interface) describes the standard functions and events.

The wallet does not move tokens by editing its own record. It submits a signed request to the contract and then reads the state after execution. A useful analogy is a shared ledger: the contract makes the entry, and wallets show the updated account totals.

How do approve, allowance and transferFrom work?

Spending permission is separate from a token balance. The approve function changes how much a chosen spender may use from an owner’s address; it does not transfer tokens. The spender can then call transferFrom to move tokens from that owner, up to the remaining authorization. The allowance function reports how much permission remains.

That separation matters after a balance reaches zero. Under standard allowance logic, spending the full balance does not automatically cancel the authorization. If the same address later receives more tokens, the spender may still use the remaining allowance against that new balance. Before approving, consider the amount and spender address; afterward, read allowance to see the authorization still in place.

A token swap can use this same sequence: approve a spender, then let it call transferFrom to collect the input token as part of the exchange. When you want to exchange supported tokens on TRON, you can TRON swap for that transaction path, where the assets you plan to trade are supported on the network.

One limit is that a token’s transfer behavior can differ from the standard expectation. A transfer-tax token may deliver less to the recipient than the amount requested, so an application must account for the actual amount received rather than assume the nominal amount arrived.

How does TRC-20 differ from TRC-10?

What is the difference between TRC-20 and TRC-10?

TRC-20 uses smart contracts, while TRC-10 is a protocol-level token standard, as described in the [TRON white paper](https://tron.network/static/doc/TRON_White_Paper.pdf).

Can different tokens have the same symbol?

Yes. Symbols can repeat, so identify a token by its network and contract address, not by its symbol alone.