Extracts and validates the active module from a client's account.
If no module is currently activated
The viem Client instance with an optional modular smart account
The active module from the account
Extracts and validates the active module from a client's account.
Throws
If no module is currently activated