# signPreparedCalls

> Overview of the signPreparedCalls function

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

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

```ts
function signPreparedCalls(client, params): Promise<SignPreparedCallsResult>;
```

Defined in: [packages/wallet-apis/src/actions/signPreparedCalls.ts:66](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/wallet-apis/src/actions/signPreparedCalls.ts#L66)

Signs prepared calls using the provided signer.

## Example

```ts
// Prepare a user operation call.
const preparedCalls = await client.prepareCalls({
  calls: [
    {
      to: "0x1234...",
      data: "0xabcdef...",
      value: "0x0",
    },
  ],
});

// Sign the prepared calls.
const signedCalls = await client.signPreparedCalls(preparedCalls);

// Send the signed calls.
const result = await client.sendPreparedCalls(signedCalls);
```

## Parameters

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

  <tbody>
    <tr>
      <td>
        `client`
      </td>

      <td>
        `InnerWalletApiClient`
      </td>

      <td>
        The wallet client to use for signing
      </td>
    </tr>

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

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

      <td>
        The prepared calls with signature requests
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Promise`\<[`SignPreparedCallsResult`](../type-aliases/SignPreparedCallsResult)>

A Promise that resolves to the signed calls