# PrepareSignResult

> Overview of PrepareSignResult

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
type PrepareSignResult = {
  chainId: number;
  signatureRequest:
    | {
        type: "personal_sign";
        data:
          | string
          | {
              raw: `0x${string}`;
            };
      }
    | {
        type: "eth_signTypedData_v4";
        data: {
          types: Record<
            string,
            {
              name: string;
              type: string;
            }[]
          >;
          primaryType: string;
          message: Record<string, unknown>;
          domain?:
            | {
                chainId?: number | bigint | undefined;
                name?: string | undefined;
                salt?: `0x${string}` | undefined;
                verifyingContract?: `0x${string}` | undefined;
                version?: string | undefined;
              }
            | undefined;
        };
      };
};
```

Defined in: [packages/wallet-apis/src/actions/prepareSign.ts:25](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/wallet-apis/src/actions/prepareSign.ts#L25)