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

# getInitData

> Get the account initialization data, used to deploy the account onchain.

Method on an account instance returned by [`createAccount`](/sdk-reference/rhinestone-sdk/create-account).

## Usage

```ts theme={null}
const initData = account.getInitData()
```

## Returns

The factory address and factory data

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

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