Skip to main content

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 typed WalletScreeningBlockedError. 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

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

Last modified on July 22, 2026