Recommended: JavaScript SDK with React Hooks
For new React apps, we recommend the JavaScript SDK with React Hooks (
@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.- User initiates revocation from their wallet
- Dynamic performs a reshare ceremony
- Developer’s external share becomes invalid
- All delegated operations are immediately blocked
User Experience
Dynamic UI
Within the Dynamic Widget, the user can navigate to the “Settings” tab, where they will see a button for Delegated Wallets.

Custom UI
useWalletDelegation provides a revokeDelegation method that can be used to revoke a wallet.
wallets: Array of wallet objects to revoke. Each wallet object should have:chainName: ChainEnum - The chain the wallet is associated withaccountAddress: string - The address of the wallet to revokestatus: WalletDelegationStatus - The delegation status of the wallet (must be ‘delegated’ for revocation to proceed)
Webhook payload (wallet.delegation.revoked)
Cleanup checklist (server)
- Invalidate cached delegated materials for the
walletId. - Stop any delegated jobs/agents for the wallet.
- Remove or rotate stored delegated share and per‑wallet API key.
- Treat duplicate events as idempotent using
eventId.