# combineSignatures | @account-kit/smart-contracts

> Overview of the combineSignatures function from @account-kit/smart-contracts

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

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

```ts
function combineSignatures(params): `0x${string}`;
```

Defined in: [account-kit/smart-contracts/src/msca/plugins/multisig/utils/combineSignatures.ts:38](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/msca/plugins/multisig/utils/combineSignatures.ts#L38)

Combines multiple signatures with provided upper limit values for gas fees and returns the concatenated result.

## Example

```ts
import { combineSignatures } from "@account-kit/smart-contracts";

const combinedSignature = combineSignatures({
 // this is the upper limit pre-verification gas
 upperLimitPvg: "0x01",
 upperLimitMaxFeePerGas: "0x02",
 upperLimitMaxPriorityFeePerGas: "0x03",
 signatures: [{
   signerType: "EOA",
   userOpSigType: "UPPERLIMIT",
   signer: `0x...`,
   signature: `0x...`,
 }]
 usingMaxValues: false,
});
```

## Parameters

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

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

      <td>
        `CombineSignaturesParams`
      </td>

      <td>
        The function parameters
      </td>
    </tr>

  </tbody>
</table>

## Returns

`` `0x${string}` ``

The concatenated result of padding and formatting the provided values and signatures