One address that carries several ways to pay you. Your wallet and the sender's wallet pick the best one automatically.
u1. A draft revision of the ZIP would change this, so check the ZIP if you rely on prefixes.Before UAs, people had to choose between transparent, Sapling and Orchard addresses, and senders needed to know which pool a recipient used. A UA removes that choice: you share one address, and new receiver types can be added later without handing out a new address format.
| Revision | Status | Mainnet address prefix |
|---|---|---|
| Revision 0 | Active | u1 (HRP u) |
| Revision 1 | Withdrawn | Not in use |
| Revision 2 | Draft | zu for shielded-only, tu for addresses with a transparent receiver |
Revision 2 is not adopted. In the draft, a zu address may not contain transparent receivers, which lets people tell by appearance whether an address could leak information on-chain. It also changes the viewing-key prefixes to uvf and uvi. Until it is adopted, everything below describes revision 0.
ZIP 316 does not define a separate Ironwood receiver. According to the ZODL guide to Ironwood, your existing shielded funds stay in Orchard until you move them, with no change to your addresses. See .
This is a learning guide, not a packaged decoder or copy-paste payment library. It explains how a Unified Address is structured so you can understand what maintained libraries do under the hood. For anything that handles real funds, defer to the ZIP-316 specification and the official implementations linked below.
A Unified Address (UA) is a single address string that carries one or more receivers: Transparent, Sapling or Orchard. The paying wallet selects the best one it supports.
Think of a UA as a sealed envelope containing several labelled cards. Each card represents a different way to reach you. To check an address, an application must:
A UA uses Bech32m text encoding, but decoding Bech32m alone does not reveal the usable receivers.
ZIP-316 deliberately scrambles the payload using F4Jumble before encoding. The ZIP states two goals for F4Jumble: near second-preimage resistance and nonmalleability. In practice, this makes it impractical to alter part of an address while leaving the prefix and suffix looking valid.
Key rule: Malleability protection only works if your application executes the full decoding and validation pipeline. Partial decoding removes safety while keeping all the risk.
u identifies mainnet; utest identifies testnet. (Mainnet UAs start with u1, where 1 is the Bech32 separator. This is revision 0 of the ZIP; the draft revision 2 uses different prefixes.)F4Jumble is a 4-round Feistel network built on BLAKE2b:
min(64, floor(length / 2)) bytes. The cap of 64 bytes corresponds to the maximum output size of BLAKE2b. The right half contains the remaining payload.UA_F4Jumble_G and UA_F4Jumble_H).Before scrambling, the encoder appends 16 bytes containing the HRP, padded with zeros.
u or utest). This prevents testnet addresses from being accidentally accepted on mainnet.The remaining payload consists of (typecode, length, content) entries, where the typecode and length are stored as compact-size integers (a single byte for small values). Known receiver typecodes:
| Typecode | Receiver type | Content length |
|---|---|---|
0x00 | Transparent (P2PKH) | 20 bytes |
0x01 | Transparent (P2SH) | 20 bytes |
0x02 | Sapling | 43 bytes |
0x03 | Orchard | 43 bytes |
Beyond these, ZIP-316 reserves two further ranges for forward compatibility:
0xC0–0xDF (non-MUST-understand metadata): consumers must ignore metadata items they don't recognize in this range.0xE0 and 0xE1 (assigned MUST-understand expiry metadata): the current ZIP-316 registry assigns these to address expiry height and time. Consumers must understand these items or reject the address.0xE2–0xFC (unassigned MUST-understand metadata): consumers must reject the address if they encounter an unrecognized item in this range.For known receiver types, verify that the encoded length matches the type's specified content length. For metadata items, use their encoded compact-size length to determine the content length. Reject truncated entries or any trailing bytes.
Preferred receiver order. Once an address parses successfully, a wallet or payment tool should pick the best receiver in this order: Orchard, then Sapling, then transparent.
Decoding successfully does not make an address valid. Official Zcash wallets strictly reject addresses that violate the following rules. Web tools must reject them as well to prevent payment failures:
0xE0–0xFC), which they must reject when unrecognized. In the current registry, 0xE0 and 0xE1 are assigned expiry types, while 0xE2–0xFC are unassigned. Independently, reject any address that fails the mandatory validity rules above, including the requirement for a Sapling or Orchard receiver.zcash_address) to WebAssembly rather than deploying custom JavaScript decoders.No. ZODL states that existing addresses do not change.
Not under revision 0. It must contain at least one Sapling or Orchard receiver, and a UA with only transparent receivers is invalid.
The ZIP does not say. Revision 2 is a draft, so nothing has changed yet. Follow the ZIP and your wallet's release notes.
No. The payload is scrambled with F4Jumble before encoding, so you need the full ZIP 316 pipeline. Use a maintained library for anything that handles funds.
| Term | Meaning |
|---|---|
| Unified Address (UA) | Single address string bundling multiple receiver pools. |
| Receiver | Specific payment destination type (transparent, Sapling, or Orchard). |
| Bech32m | Text encoding scheme used for UA strings. |
| HRP | Human-readable part or network prefix (u or utest). |
| F4Jumble | Reversible obfuscation algorithm ensuring address integrity. |
| Typecode | Number in each entry defining the receiver type in the payload. |
| Malleability | Unauthorized modification of address bytes without detection. |
See also: · ·