> ## 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.</Warning>

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/utils'
```

## Usage

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

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

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

## Parameters

<ParamField path="config" type="RhinestoneAccountConfig" required>
  Account configuration
</ParamField>

## Returns

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

<ResponseField name="address" type="`0x${string}`" required />

<ResponseField name="factory" type="`0x${string}`" required />

<ResponseField name="factoryData" type="`0x${string}`" required />

<ResponseField name="intentExecutorInstalled" type="boolean" required />
