function getModularAccountV2AddressFromFactoryData(
params,
): Promise<`0x${string}`>;Defined in: packages/smart-accounts/src/ma-v2/predictAddress.ts:151
Gets the modular account v2 address from factory data. If the factory is a known default (SMA), decodes the args and predicts without RPC. Otherwise falls back to calling the entry point's getSenderAddress.
| Parameter | Type | Description |
|---|---|---|
| The parameters |
Promise<`0x${string}`>
The account address