Prerequisites
Before this page: a wallet connection flow (see Connecting external wallets).What you’ll build
When your project enables compliance screening, a wallet that fails (for example, one on a sanctions list) is rejected during verification with a typedWalletScreeningBlockedError. You’ll catch it and show a clear access-denied state instead of a generic failure.
Screening runs server-side during connect + verify — you don’t call it yourself. Your job is to branch on the specific error.
Catching the blocked error
- TypeScript
- React
Keep the access-denied copy neutral — the user usually can’t fix a screening result. Offer a way to connect a different wallet or contact support rather than a retry that will fail again.
Handling errors
See also
- Connecting external wallets — the connect + verify flow that runs screening
- Connected wallets management — manage wallets that passed screening