# SwapExecutionActionWait\<T>

```
type SwapExecutionActionWait<T> = object;
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:248](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L248)

Swap action indicating that the user should wait for either LP to process the swap, automatic settlement to happen or until the Bitcoin transaction gets enough confirmations

## Type Parameters

| Type Parameter                                              | Default type                                  |
| ----------------------------------------------------------- | --------------------------------------------- |
| `T` *extends* `"LP"` \| `"SETTLEMENT"` \| `"BITCOIN_CONFS"` | `"LP"` \| `"SETTLEMENT"` \| `"BITCOIN_CONFS"` |

## Properties

### description

```
description: string;
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:263](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L263)

Human-readable description of the action

***

### expectedTimeSeconds

```
expectedTimeSeconds: number;
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:282](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L282)

Expected time in seconds for this action to take

***

### name

```
name: T extends "LP" ? "Awaiting LP payout" : T extends "SETTLEMENT" ? "Automatic settlement" : "Bitcoin confirmations";
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:255](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L255)

Human-readable name of the action

***

### pollTimeSeconds

```
pollTimeSeconds: number;
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:286](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L286)

Recommended time interval in seconds after which you should re-check the current action

***

### type

```
type: "Wait";
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:251](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L251)

***

### wait

```
wait: T extends "BITCOIN_CONFS" ? (maxWaitTimeSeconds?, pollIntervalSeconds?, abortSignal?, btcConfirmationsCallback?) => Promise<void> : (maxWaitTimeSeconds?, pollIntervalSeconds?, abortSignal?) => Promise<void>;
```

Defined in: [atomiq-sdk/src/types/SwapExecutionAction.ts:273](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/SwapExecutionAction.ts#L273)

Allows you to await till this action resolves

#### Param

Maximum time in seconds to wait for

#### Param

How often to poll for the state change (default 5 seconds)

#### Param

AbortSignal to abort the wait

#### Param

Optional callback when awaiting bitcoin confirmations, gets called when number of bitcoin confirmations change
