# sendCalls | @account-kit/wallet-client

> Overview of the sendCalls 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 sendCalls<TAccount>(client, signer, params): Promise<{}>;
```

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

Prepares, signs, and submits calls. This function internally calls `prepareCalls`, `signPreparedCalls`, and `sendPreparedCalls`.

\<Note>
If using this action with an ERC-20 paymaster in pre-operation mode with `autoPermit`, the contents of the permit will be hidden
from the user. It is recommended to use the `prepareCalls` action instead to manually handle the permit signature.
\</Note>

## Example

```ts
const result = await client.sendCalls({
  calls: [
    {
      to: "0x1234...",
      data: "0xabcdef...",
      value: "0x0",
    },
  ],
  capabilities: {
    paymasterService: { policyId: "your-policy-id" },
  },
});

// The result contains the call ID
console.log(result.id);
```

## Type Parameters

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

  <tbody>
    <tr>
      <td>
        `TAccount` *extends* `undefined` | `` `0x${string}` ``
      </td>

      <td>
        `undefined` | `` `0x${string}` ``
      </td>
    </tr>

  </tbody>
</table>

## 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>
        `signer`
      </td>

      <td>
        `SmartWalletSigner`
      </td>

      <td>
        The signer to use
      </td>
    </tr>

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

      <td>
        [`SendCallsParams`](../type-aliases/SendCallsParams)\<`TAccount`>
      </td>

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

  </tbody>
</table>

## Returns

`Promise`\<\{
}>

A Promise that resolves to the result containing the call ID.