> ## Documentation Index
> Fetch the complete documentation index at: https://zyfai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# getSmartWalletAddress

Get the Smart Wallet (Safe) address assigned to a user. Returns address and deployment status.

For pre-deployed wallets, the address is **backend-assigned** (not derived from the EOA). After the first [`depositFunds`](/docs/sdk/api/deposit-funds), the same Safe is available on Base, Arbitrum, and Ethereum Mainnet.

## Signature

```typescript theme={null}
getSmartWalletAddress(userAddress: string, chainId: SupportedChainId): Promise<SmartWalletResponse>
```

## Parameters

| Parameter     | Type               | Required | Description                         |
| ------------- | ------------------ | -------- | ----------------------------------- |
| `userAddress` | `string`           | ✅        | User's EOA address                  |
| `chainId`     | `SupportedChainId` | ✅        | Target chain ID (8453, 42161, or 1) |

## Returns

Smart wallet address and deployment status

## Return Type

```typescript theme={null}
interface SmartWalletResponse {
  address: Address;
  isDeployed: boolean;
}
```

## Example

```typescript theme={null}
const wallet = await sdk.getSmartWalletAddress("0xUser...", 42161);
console.log("Safe address:", wallet.address);
console.log("Is deployed:", wallet.isDeployed);
```
