Shielded, Transparent, and Mixed Transactions
The concept
Zcash supports four distinct transaction shapes, and knowing the difference is essential both for using the network correctly and for evaluating its real-world privacy guarantees honestly (a theme you'll return to in Module 6). The four shapes are defined by which side of the transaction — sender and receiver — uses a transparent address versus a shielded address.
Transparent-to-transparent (t-to-t). Both sender and receiver use transparent addresses. This behaves exactly like a Bitcoin transaction: the amount, sender, and receiver are all fully visible on the public ledger. No privacy is applied at all.
Transparent-to-shielded (t-to-z), called "shielding." Funds move from a visible transparent address into the shielded pool. The source address and the amount leaving it are publicly visible (because the transparent side is public by definition), but once the funds land in a shielded note, the receiving address and the fact that this specific recipient received this specific amount is hidden going forward.
Shielded-to-transparent (z-to-t), called "deshielding." The mirror image: funds leave the shielded pool and arrive at a visible transparent address. The destination address and the amount arriving are publicly visible, but the shielded source — which note, which previous owner — is not revealed.
Shielded-to-shielded (z-to-z), fully shielded. Both sender and receiver use shielded addresses. Sender, receiver, and amount are all hidden; an outside observer only learns that a valid shielded transaction occurred somewhere in that block.
The privacy guarantee you actually get depends entirely on which of these four shapes a transaction uses — and this is where a common misunderstanding creeps in. Simply holding ZEC, or having used a shielded address once, does not make all of your activity private. If you shield funds (t-to-z) and then immediately deshield them again (z-to-t) in a way that an observer can link by matching amounts and timing, much of the privacy benefit can be undone through pattern analysis — this is sometimes called "shielded pool hygiene," and it's a real, practical limitation covered again in Module 6's discussion of adoption and metadata risk. True end-to-end privacy for a given transfer requires both parties to transact fully within the shielded pool (z-to-z), ideally without immediately moving funds back out to a transparent address in a traceable pattern.
A related nuance worth naming here: a single wallet can hold balances across several of these shapes simultaneously — some transparent, some Sapling, some Orchard — and a transaction that looks simple to the user (for example, sending from a unified address) can involve the wallet internally combining inputs from more than one pool to assemble the requested amount. This internal complexity is handled automatically by modern wallets, but it is also part of why some shielded transactions carry a higher fee than others, a point this course returns to in Module 4.
Worked example
Trace 5 ZEC through three different paths and note what's visible in each:
- Path A (t-to-t): Alice's transparent address sends 5 ZEC to Bob's transparent address. A block explorer shows: Alice's address, Bob's address, and "5 ZEC," in plain text, forever.
- Path B (t-to-z then z-to-t): Alice shields 5 ZEC from her transparent address into a shielded note, waits, then deshields 5 ZEC to Bob's transparent address. A block explorer shows Alice shielding exactly 5 ZEC and, separately, a deshielding transaction of exactly 5 ZEC arriving at Bob's address. If these are the only large shielding/deshielding events of that amount in the relevant window, an analyst can reasonably infer the link even though no single transaction states it directly.
- Path C (z-to-z): Alice sends 5 ZEC from her shielded address directly to Bob's shielded address, and Bob never deshields it. A block explorer shows only that a valid shielded transaction occurred in that block — no amount, no addresses, and nothing to pattern-match against.
Now add a fourth path to sharpen the lesson. Path D (t-to-z, held indefinitely): Alice shields 5 ZEC and Bob never deshields any of it, instead spending it later, fully shielded, to a third party for an unrelated purpose. Because the funds sat in the shielded pool for an extended period and were eventually spent in a different amount and pattern than they arrived, the timing-correlation technique that partially undermined Path B has far less to work with — the longer and more irregularly funds remain and move within the shielded pool, the weaker any timing-based inference becomes.
(See assets/transaction-shapes.png — alt text: "Four transaction diagrams labeled t-to-t, t-to-z, z-to-t, and z-to-z, each showing which fields — sender, receiver, amount — are publicly visible versus hidden.")
Exercise
Using Path B and Path C above as a model, write a short explanation (4–5 sentences) of why "I used a shielded address" is not, by itself, a sufficient privacy claim. Then describe one practical habit a user could adopt (for example, around timing, amounts, or which address type to receive future payments at) to avoid undermining the privacy of a shielded transaction through a predictable shield-then-deshield pattern. Finally, using Path D, explain in one sentence why holding shielded funds for a longer, more irregular period before spending them further reduces the effectiveness of timing-correlation analysis.
Recap
- Zcash has four transaction shapes — t-to-t, t-to-z, z-to-t, and z-to-z — and privacy is determined entirely by which shape a given transfer uses, not by whether ZEC has "ever" touched a shielded address.
- Only fully shielded (z-to-z) transactions hide sender, receiver, and amount simultaneously; shielding and deshielding transactions always expose one side.
- Predictable shield-then-deshield patterns (matching amounts and timing) can let an outside observer infer links even without any single transaction revealing them directly, while funds held longer and spent irregularly within the shielded pool are harder to correlate — a real limitation explored further in Module 6.
Resources
- Zcash documentation on transaction types and the shielded pool: https://zcash.readthedocs.io/
- Electric Coin Company blog, "Shielded pool hygiene" discussions — practical guidance on avoiding privacy-undermining patterns: https://electriccoin.co/blog/
- Lesson: Shielded vs. Transparent Addresses (Module 2) — foundational address concepts this lesson builds on
- Lesson: Metadata Leakage (Technical Risks, Module 6) — the deeper technical risk behind the timing-correlation point raised here