One account, five ways to write it
Every account on TON, a wallet or any other contract, has one address. What differs is how it is written:
- Raw: the workchain number, a colon and 64 hexadecimal characters, like 0:ca6e…2a3e. It is what smart contracts work with. It has no checksum, so a typo is not caught.
- Bounceable: starts with EQ. The form for contracts.
- Non-bounceable: starts with UQ. The form for wallets.
- Bounceable, testnet: starts with kQ.
- Non-bounceable, testnet: starts with 0Q.
The four user-friendly forms are 48 characters of base64 that pack two flags, the workchain, the account and a checksum. Thanks to the checksum, a wallet rejects an address with a wrong character instead of sending the money to nowhere.
EQ… and UQ… with the same ending are the same account. If your wallet shows UQ… and an exchange shows EQ… for you, nothing is wrong: they are two spellings of one address. The workchain is almost always 0, the basechain; −1 is the masterchain, where validators and system contracts live.
Bounceable or non-bounceable
The bounce flag decides what happens when a payment cannot be delivered. With a bounceable address, a payment to an account that does not exist yet, or a contract that fails to process it, comes back to the sender minus fees. With a non-bounceable one it stays at the address.
That is why the standard (TEP-2) says:
- wallets receive at the non-bounceable UQ… form. A brand-new wallet has no contract deployed until its first outgoing transaction, so a bounceable payment to it would come straight back;
- contracts receive at the bounceable EQ… form, so money comes back if the contract rejects it.
If you send GRAM to the EQ… form of a wallet that has never been used, it bounces back to you. Annoying, not dangerous. The opposite mistake is worse: send to a contract's non-bounceable UQ… form, and if the contract cannot process the payment, the money stays with it.
Address safety
- Copy, never type. And compare more than the first and last few characters.
- Beware of address poisoning. Scammers send tiny transfers from addresses that start and end like yours or your usual counterparty's, hoping you copy one from your history (Address poisoning).
- Mainnet apps should refuse testnet addresses. kQ… and 0Q… are testnet only; never use them for real funds.
- A token has its own address. A Jetton's address is its master contract, and your balance of it sits at yet another address, your jetton wallet. When you send tokens, you always type the person's wallet address.
- Exchanges may need a comment. A deposit to a shared exchange address without the right Memo can be lost.
How DYOR handles TON addresses
The address converter takes any form, EQ…, UQ…, kQ…, 0Q… or 0:…, and shows all five side by side, with the workchain and which form is for wallets and which for contracts. If DYOR tracks a token at that address, it says so and offers a token check. It runs in your browser.
Token check takes a token's name, its address or its DYOR link. A token page without a short name lives at the bounceable EQ… address of the token's master contract, like /token/EQ…; the rest use a slug such as /token/tether.
DYOR also lists GRAM, which has no contract, under the zero address EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9c, and counts tokens sent to the zero address as burned.