> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Privacy and transfer controls

> What Confidential Balances hide, which issuer controls still work when amounts are encrypted, and how to give an auditor visibility.

<Info>
Confidential Balances encrypt amounts. They do not hide who transacted with
whom, or when. Account-level controls (freeze, default-frozen accounts, and
pause) are unaffected, because they never depended on amounts. A permanent
delegate reaches only the public balance. Apart from the transfer fee, which
the token program applies through proofs, a policy that depends on the size of
a transfer cannot be enforced onchain once amounts are encrypted. The extension
cannot be added after the mint is created.

Confidential Balances is one of three privacy solutions on Solana.
[Private payments](/developers/docs/finance/privacy) compares all three and
what each one hides; this page covers Confidential Balances from the issuer's
side.
</Info>

## Public and encrypted data

The
[Confidential Balances extension](/developers/docs/tokens/extensions/confidential-transfer)
encrypts transfer amounts and account balances. Everything else about a
transfer stays public.

| Public                                 | Encrypted        |
| -------------------------------------- | ---------------- |
| Sender and recipient account addresses | Transfer amounts |
| Account owners                         | Account balances |
| The mint                               |                  |
| That a transfer occurred, and when     |                  |

So an observer cannot see how much moved, but can see that these two parties
transacted, at this time, in your asset.

The extension addresses commercially sensitive position sizes or payment
amounts. It does not hide a client list or counterparty relationships, because
addresses stay public.
[Private payments](/developers/docs/finance/privacy) sets out what the other
two solutions hide, and
[deployment options](/developers/docs/tokenization/design/deployment-options)
turns that into a choice about where the asset lives.

## Which controls still work

Controls that decide **who may transact** work unchanged. Controls that **move
value** reach only the public balance.

| Control                                   | Works with Confidential Balances                                                                         |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| Default account state (frozen by default) | Yes: it operates on the account, not its balance                                                         |
| Freeze and thaw, including via Token ACL  | Yes: the gate decides who may hold, independent of amount                                                |
| Pausable                                  | Yes: it halts activity across the token                                                                  |
| Attestation-driven allowlisting           | Yes: the claim is about the holder                                                                       |
| Permanent delegate                        | **Partly**: it reaches the public balance only                                                           |
| Permissioned burn                         | Yes: confidential burns must use the permissioned variant, co-signed by the burn authority and the owner |
| Any rule conditioned on transfer size     | **No**: see below                                                                                        |

A permanent delegate does not extend to Confidential Balances. The
`ConfidentialTransferInstruction::Transfer` and
`ConfidentialMintBurnInstruction::Burn` instructions accept only the account
owner as authority, and each requires zero-knowledge proofs bound to the
**owner's ElGamal public key** and current encrypted balance. The delegate can
neither sign these instructions nor construct the proofs, so the encrypted
balance is out of reach. The delegate can still move the account's public
balance through an ordinary transfer.

Permissioned burn is a co-signature requirement, not a way to move value, and
Token-2022 enforces it on encrypted balances too. On a mint with a permissioned
burn authority, the standard `ConfidentialMintBurnInstruction::Burn` is
rejected. A confidential burn has to use the permissioned variant,
`PermissionedBurnInstruction::ConfidentialBurn`, signed by both the burn
authority and the account owner. As with a public burn, the burn authority
can't burn a holder's encrypted balance on its own.

<Warning>
**Freeze and forced transfer with Confidential Balances**

Confidential Balances work alongside freeze and pause. Forced transfer and
burn through the permanent delegate apply only to the public balance.

A frozen account (directly or through Token ACL) or a paused mint blocks
confidential transfers and withdrawals. The auditor key decrypts transfer
amounts but not the encrypted balance itself. Moving or burning an encrypted
balance requires the holder's signature, or the holder's keys in a custodial
setup. A frozen encrypted balance stays in place until the account is thawed.
</Warning>

### Policy that depends on amounts

An onchain program cannot evaluate a value it cannot read. Once amounts are
encrypted, no program in the transfer path can enforce a per-transfer cap, a
daily volume limit, a threshold that triggers extra approval, or a
jurisdiction-dependent transfer size. This is by design: no instruction exposes
the amount to a program in the transfer path.

If you need those rules, you have three options: drop Confidential Balances,
move the rule offchain to a point where you can see the amount (your own
issuance and redemption path, which you control), or accept the rule as a
contractual term enforced by audit rather than by the ledger.

<Warning>
Where a design combines Confidential Balances with a transfer hook or another
extension, confirm the extensions can be enabled together; some are mutually
exclusive. See [Token extensions](/developers/docs/tokens/extensions).
</Warning>

## Decisions taken at mint creation

The Confidential Balances extension must be initialized **before the mint is
initialized and cannot be added later**. If confidentiality may be required
later, enabling the extension at creation keeps the option open.

Two settings are chosen at creation. The mint's Confidential Balances authority
can change either one later with the extension's `UpdateMint` instruction. If
the mint has no Confidential Balances authority, both are fixed.

- **Approve policy.** Whether accounts may opt into confidential transfers
  permissionlessly, or must be approved by the mint's Confidential Balances
  authority. Manual approval gives you a second gate on who transacts
  confidentially; automatic approval removes an operational step.
- **Auditor key.** An optional global auditor ElGamal public key. When set, the
  holder of the corresponding secret key can decrypt every transfer amount for
  the mint. A replacement key applies to transfers made after the change.

Confidential transfer fees and confidential mint and burn are companion
extensions that must also be initialized at creation if you want them.

<Warning>
Confidential transfers depend on the ZK ElGamal Proof Program for onchain
proof verification, so the mint is only usable on clusters where that program
is enabled. Confirm this for the target cluster.
</Warning>

## Auditor keys and disclosure

[Private payments](/developers/docs/finance/privacy) states the audit model:
the key decrypts transfer amounts, and does not reveal an account's full
balance or grant any authority to move tokens.

Three operational points:

1. **The secret key is a standing decryption capability over the entire mint.**
   Whoever holds it can read every transfer settled while it was the active
   auditor key.
2. **Rotation does not re-key history.** Past transfers stay encrypted to
   whichever auditor key was active when they executed. If you rotate, keep the
   old keys or you permanently lose the ability to decrypt historical activity,
   including for an examination that arrives years later.
3. **Clearing the auditor removes amount visibility** for everyone except the
   account owners.

For disclosure narrower than "the auditor sees everything," you rely on the
account owner: a holder can demonstrate their own balance and transfers to a
counterparty or supervisor.

## Related

- [Private payments](/developers/docs/finance/privacy): the comparison of the
  privacy solutions
- [Confidential Balances issuer guide](/developers/docs/tokens/extensions/confidential-transfer/issuer-guide):
  create and operate a confidential mint
