Why unshielding takes two transactions
The token contract cannot read its own encrypted balances. When you unshield, CoFHE decrypts the requested amount offchain, and the claim transaction carries the decrypted result back to the contract. The steps bar shows the three stages:Steps
1
Enter the amount
Select Unshield, pick the confidential token, and enter an amount up to your confidential balance. You need an active permit to see that balance. You receive shows the public token and amount.
2
Send the request
Select Unshield and confirm the transaction in your wallet.
3
Wait for the decryption
The button reads Unshielding while CoFHE decrypts the amount. You can leave the page. The claim waits for you.
4
Claim
When the button reads Claim followed by the amount, select it and confirm in your wallet. The app shows … is back in your wallet with a link to the transaction.
Claim an unshield later
An unshield you have not claimed stays claimable. You find it in three places:- Under the Shield form, in the Unclaimed section, for every token.
- In the token’s details on the Dashboard, in its Unclaimed section.
- On the Dashboard’s token list, as a Claimable tag on the token’s row.