# swapActions (experimental)

> This is a decorator that is used to add experimental swap actions to a client.

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

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

<Warning>
  Experimental: This API is experimental and may change in a future release.
</Warning>

```ts
const swapActions: (client) => SwapActions;
```

Defined in: [packages/wallet-apis/src/experimental/swapActionsDecorator.ts:23](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/wallet-apis/src/experimental/swapActionsDecorator.ts#L23)

This is a decorator that is used to add experimental swap actions to a client.

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

      <td>
        The wallet client to extend with swap functionality
      </td>
    </tr>

  </tbody>
</table>

## Returns

[`SwapActions`](../type-aliases/SwapActions)

An object containing swap-related actions