Shielded addresses enable users to transact while revealing as little information as possible on the Zcash blockchain. What happens when you need to disclose sensitive information around a shielded Zcash transaction to a specific party? Every shielded address includes a viewing key. Viewing keys were introduced in ZIP 310 and added to the protocol in the Sapling network upgrade. Viewing keys are a crucial part of Zcash as they allow users to selectively disclose information about transactions.

Why use a viewing key?

Why would a user ever want to do this? From Electric Coin Co.’s blog on the matter…

How to find your viewing key

zcashd

ywallet

How to use your viewing key

zcashd

./zcash-cli z_importviewingkey "vkey/ukey" whenkeyisnew 30000

ywallet

https://user-images.githubusercontent.com/81990132/208585568-46065002-6682-4ff4-ae8b-d206205b5d9b.png

zcashblockexplorer.com