# sendCalls (Solana)

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

Defined in: [packages/wallet-apis/src/actions/solana/sendCalls.ts:47](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/wallet-apis/src/actions/solana/sendCalls.ts#L47)

Prepares, signs, and submits Solana instructions in a single call.
Internally calls `prepareCalls`, `signPreparedCalls`, and `sendPreparedCalls`.

## Example

```ts
const result = await client.sendCalls({
  calls: [
    {
      programId: "11111111111111111111111111111111",
      data: "0x...",
    },
  ],
  capabilities: {
    paymaster: { policyId: "your-policy-id" },
  },
});
```

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

      <td>
        The Solana wallet API client
      </td>
    </tr>

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

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

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

  </tbody>
</table>

## Returns

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

The result containing the call ID