Series: Zero to Zero Knowledge
Zcash has two kinds of transactions, transparent and shielded, and a way to combine their addresses, the Unified Address. This page explains the difference, how a Unified Address is built, and what to look for in a wallet.
| Transparent | Shielded | |
|---|---|---|
| Addresses | t-addresses (Base58Check) | Addresses for a shielded pool (Sapling, Orchard, and later pools) |
| What is public | Sender, receiver and amount, as in Bitcoin | Nothing beyond the proof that the transaction is valid |
| How privacy works | None | Zero-knowledge proofs |
"Shielded transaction" means any transaction whose addresses belong to a shielded pool. Moving value between pools can reveal the amount to an outside observer, which is why the pool balances are tracked (see The turnstile).
| Type | Encoding | Notes |
|---|---|---|
| Transparent | Base58Check | Public, like Bitcoin |
| Sapling | Bech32 | Shielded |
| Unified Address (UA) | Bech32m | Bundles several receivers in one address |
Each type is longer than the last, so QR codes grow as well.
A UA is a single address that carries one receiver for each pool the owner supports. The sender's wallet picks the best receiver it can use, so the sender does not need to choose a pool.
Under the hood (ZIP 316):
0x00 transparent (P2PKH), 0x01 transparent (P2SH), 0x02 Sapling, 0x03 Orchard.Full specification: ZIP 316: Unified Addresses. See also .
The Orchard pool introduced Actions. An Action merges what Sapling handled as a separate Spend and Output into one value commitment. Two benefits follow:
Daira-Emma Hopwood explains Anchor positions in Explaining the Security of Zcash (Zcon3).
Since the NU6.3 upgrade, the Orchard pool is closed to new inflows and wallets can move funds into the Ironwood pool. For the status of each pool, see .
In some cases, such as a transaction between pools, the amount may be visible to an outside observer. Each pool carries a value balance, built from homomorphic commitments, that proves the total value in the pool and prevents counterfeiting. See ZIP 209: Prohibit Out-of-Range Chain Value Pool Balances.
Prefer a maintained wallet that shows what a transaction will reveal before you send it. The wallet comparison on the page lists which wallets are maintained and which support the newest pools. Wallets that are no longer maintained cannot follow network upgrades and should not be used for new funds.