# LnForGasSwapState

Defined in: [atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:31](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/swaps/trusted/ln/LnForGasSwap.ts#L31)

State enum for trusted Lightning gas swaps

## Enumeration Members

### EXPIRED

```
EXPIRED: -2;
```

Defined in: [atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:35](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/swaps/trusted/ln/LnForGasSwap.ts#L35)

The swap quote expired before the user paid the Lightning invoice

***

### FAILED

```
FAILED: -1;
```

Defined in: [atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:39](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/swaps/trusted/ln/LnForGasSwap.ts#L39)

The swap has failed before the destination payout completed, and the held Lightning invoice was released

***

### PR\_CREATED

```
PR_CREATED: 0;
```

Defined in: [atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:43](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/swaps/trusted/ln/LnForGasSwap.ts#L43)

Swap was created, pay the provided Lightning invoice which will remain held until destination payout succeeds

***

### PR\_PAID

```
PR_PAID: 1;
```

Defined in: [atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:47](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/swaps/trusted/ln/LnForGasSwap.ts#L47)

The Lightning invoice was paid and is currently held until the user receives the destination funds

***

### FINISHED

```
FINISHED: 2;
```

Defined in: [atomiq-sdk/src/swaps/trusted/ln/LnForGasSwap.ts:51](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/swaps/trusted/ln/LnForGasSwap.ts#L51)

The swap is finished after the destination payout succeeded and the held Lightning invoice was settled
