Privacy Dashboard
The Privacy Dashboard visualizes the composition of the shielded pool and helps you understand the privacy guarantees of your transactions.
Pool Composition Scanner
When you open the dashboard, it scans the V7 pool for all deposited assets:
- Queries
getEscrowBalance(asset)for native tokens and all known pallet assets - Runs in parallel batches of 25 — scanning hundreds of assets in seconds
- Shows live progress with per-asset identification
- Displays the total value locked and asset diversity
The scanner detects both native tokens (DOT, KSM, PAS) and pallet assets (USDC, USDT, and any asset registered on AssetHub).
Sunburst Chart
The pool composition is rendered as an interactive D3.js sunburst chart:
- Inner ring: Asset categories (native vs pallet assets)
- Outer ring: Individual assets with their amounts
- Hover: Shows asset name, amount, and percentage of pool
- Color: Each asset gets a distinct color for easy identification
Below the chart, a tabular view lists every asset with its symbol, balance, and decimals for precise inspection.
K-Anonymity
K-anonymity measures how many other deposits your transaction is "hiding among":
\[ k = \text{number of unspent deposits in the pool} \]
A higher K-anonymity score means stronger privacy:
| K Score | Privacy Level |
|---|---|
| 1-5 | Low — few deposits to hide among |
| 5-20 | Moderate — some anonymity |
| 20-50 | Good — difficult to trace |
| 50+ | Strong — lost in the crowd |
The dashboard displays the current K-anonymity score based on the pool's tree size. Each deposit and withdrawal changes the score, so check it before making large transactions.
How Pool Composition Affects Privacy
A diverse pool with many different assets and amounts provides better privacy than a pool dominated by a few large deposits:
- More assets → Harder to correlate deposit/withdrawal pairs by asset type
- More depositors → Higher K-anonymity
- Varied amounts → Amount-based heuristics become unreliable
- Frequent activity → Timing analysis becomes noisy
The sunburst chart helps you visually assess pool diversity at a glance.
Updating the Dashboard
The dashboard re-scans the pool every time you open it. For the most current view:
- Open the Privacy Guarantee Chart (click the chart icon)
- Wait for the scan to complete (progress bar shows status)
- Explore the sunburst chart and asset table
- Note the K-anonymity score before making deposits or withdrawals