Two TRON Address Formats

TRON addresses come in two formats: Base58Check and Hex. Every TRON address begins with the digit "4" in hex (prefix 41), which maps to the letter "T" in Base58Check encoding.

Base58Check Format (starts with T)

All Base58Check TRON addresses begin with the letter T and are 34 characters long. Example: TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL. This is the standard format used for everyday transactions and wallet addresses.

Hex Format (41 prefix)

For addresses generated from the same private key, except for the digits 41 in the header, the remaining parts are identical for addresses on both TRON and Ethereum. You can remove the 41 prefix from a TRON hex address to get the corresponding Ethereum address.

Converting Between Formats

Using TronWeb you can easily convert between formats:

  • tronWeb.address.toHex("TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL") → returns the hex address starting with 41
  • tronWeb.address.fromHex("418840E6C55B9ADA326D211D818C34A994AECED808") → returns Base58Check address

TRON Key Pair Generation

TRON uses the same ECDSA secp256k1 algorithm as Ethereum for key pair generation. The public key maps to the address, while the private key signs transactions. This design means TRON and Ethereum share address derivation logic, making porting applications straightforward.

Account Activation

Newly created TRON accounts do not exist on-chain and cannot be found via API queries until activated. Activation methods: transfer TRX from an existing account (1 TRX fee), use the Java-tron wallet/createaccount API, or receive TRC-10/TRC-20 tokens via a smart contract.