# sendPreparedCalls

> Overview of the sendPreparedCalls 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 sendPreparedCalls(client, params): Promise<SendPreparedCallsResult>;
```

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

Sends prepared calls by submitting a signed user operation.
This method is used after signing the signature request returned from prepareCalls.

## Example

```ts
// First prepare the calls
const preparedCalls = await client.prepareCalls({
  calls: [
    {
      to: "0x1234...",
      data: "0xabcdef...",
      value: 0n,
    },
  ],
  capabilities: {
    paymaster: { policyId: "your-policy-id" },
  },
});

// Then sign the calls
const signedCalls = await client.signPreparedCalls(preparedCalls);

// Then send the prepared calls with the signature
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 API client to use for the request
      </td>
    </tr>

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

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

      <td>
        Parameters for sending prepared calls
      </td>
    </tr>

  </tbody>
</table>

## Returns

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

A Promise that resolves to the result containing the call ID