To use WaaS specific methods, you must have Dynamic WaaS enabled in your project settings.
You can enable it in the Dynamic dashboard.
In your app, you can check if it is enabled by calling the isDynamicWaasEnabled method.
Make sure you have created a Dynamic Client before using this method.
Copy
Ask AI
import { isDynamicWaasEnabled } from '@dynamic-labs-sdk/client/waas';const someAction = () => { if (!isDynamicWaasEnabled()) { return; } // Do something with WaaS, like creating a wallet account // ...}