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

# experimental_getV0InitData

> Compute the v0 (legacy) initialization data for an account configuration.

> [!WARNING]
>
> This API is experimental and may change in a future release.

Use this to reconstruct the `initData` for an account originally created with
the Rhinestone SDK v0, then pass it back into `createAccount`.

## Import

```ts theme={null}
import { experimental_getV0InitData } from '@rhinestone/sdk/evm'
```

## Usage

```ts theme={null}
import { experimental_getV0InitData } from '@rhinestone/sdk/evm'

const initData = experimental_getV0InitData({
  owners: { type: 'ecdsa', accounts: [owner] },
})

const account = await sdk.createAccount({ evm: {
  owners: { type: 'ecdsa', accounts: [owner] },
  initData,
}})
```

## Parameters

**config** `EvmAccountConfig` *required*

Account configuration

## Returns

The account address, factory, factory data, and whether the intent executor is installed

**address** `0x$\{string\}` *required*

**factory** `0x$\{string\}` *required*

**factoryData** `0x$\{string\}` *required*

**intentExecutorInstalled** `boolean` *required*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.