# signSignatureRequest | @account-kit/wallet-client

> Overview of the signSignatureRequest function from @account-kit/wallet-client

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

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

```ts
function signSignatureRequest(signer, params): Promise<{} | {}>;
```

Defined in: [account-kit/wallet-client/src/client/actions/signSignatureRequest.ts:55](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/wallet-client/src/client/actions/signSignatureRequest.ts#L55)

Signs a signature request using the provided signer.
This method handles different types of signature requests including personal_sign, eth_signTypedData_v4, and authorization.

## Example

```ts
// Sign a personal message
const result = await client.signSignatureRequest({
  type: 'personal_sign',
  data: 'Hello, world!'
});

// Sign typed data (EIP-712)
const result = await client.signSignatureRequest({
  type: 'eth_signTypedData_v4',
  data: {
    domain: { ... },
    types: { ... },
    primaryType: '...',
    message: { ... }
  }
});
```

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `signer`
      </td>

      <td>
        `SmartWalletSigner`
      </td>

      <td>
        The signer to use for signing the request
      </td>
    </tr>

    <tr>
      <td>
        `params`
      </td>

      <td>
        [`SignSignatureRequestParams`](../type-aliases/SignSignatureRequestParams)
      </td>

      <td>
        The signature request parameters
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Promise`\<
| \{
}
| \{
}>

A Promise that resolves to the signature result