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

# signTypedData

> Sign typed data (EIP-712).

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

## Usage

```ts theme={null}
const signature = await account.signTypedData(parameters, chain, signers)
```

## Parameters

<ParamField path="parameters" type="HashTypedDataParameters<typedData, primaryType>" required>
  Typed-data parameters
</ParamField>

<ParamField path="chain" type="Chain" required>
  Chain to sign the typed data for
</ParamField>

<ParamField path="signers" type="SignerSet | undefined" required>
  Signers to use, or `undefined` for the account default
</ParamField>

## Returns

<ResponseField name="signature" type="`0x${string}`">
  The signature
</ResponseField>

## See also

* [signMessage](/sdk-reference/account/signing/sign-message) to sign an EIP-191 message
