function predictMultiOwnerModularAccountV1Address(params): `0x${string}`;Defined in: packages/smart-accounts/src/ma-v1/predictAddress.ts:46
Predicts the address of a MultiOwnerModularAccountV1 smart account before deployment.
This function uses CREATE2 to deterministically compute the account address based on the factory address, salt, and owner addresses. The predicted address will match the actual deployed address if the same parameters are used during deployment.
const predictedAddress = predictMultiOwnerModularAccountV1Address({
salt: 0n,
ownerAddresses: ["0x1234...", "0x5678..."],
});| Parameter | Type | Description |
|---|---|---|
| The parameters for predicting the account address |
`0x${string}`
The predicted address where the account will be deployed