> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# SignalKeyStoreWithTransaction

> Type Alias SignalKeyStoreWithTransaction in the Baileys API.

> **SignalKeyStoreWithTransaction**: [`SignalKeyStore`](/api-reference/type-aliases/SignalKeyStore) & `object`

Defined in: [src/Types/Auth.ts:98](https://github.com/WhiskeySockets/Baileys/blob/master/src/Types/Auth.ts#L98)

## Type declaration

### isInTransaction()

> **isInTransaction**: () => `boolean`

#### Returns

`boolean`

### transaction()

#### Type Parameters

• **T**

#### Parameters

##### exec

() => `Promise`\<`T`>

##### key

`string`

#### Returns

`Promise`\<`T`>
