---
url: >-
  https://game-engine-io.github.io/enginex-frontend-sdk/reference/api/@getenginex/sdk/query/interfaces/ScopedMutationOptions.md
---
[Reference](../../../../index.md) / [@getenginex/sdk/query](../index.md) / ScopedMutationOptions

# ScopedMutationOptions

Options of [QueryScope.mutation](QueryScope.md#mutation).

## Properties

### gcTime?

> `optional` **gcTime?**: `number`

The mutation's `gcTime` in TanStack Query. Omitted: the `QueryClient` default.

***

### idempotencyKey?

> `optional` **idempotencyKey?**: `string`

Fixed key for all calls of this mutation (only with `idempotent`). Empty text is ignored.

***

### idempotent?

> `optional` **idempotent?**: `boolean`

The method sends `Idempotency-Key` (it accepts `options.idempotencyKey`): the mutation passes on the open attempt's
key (or `idempotencyKey`, when given). Default: `false` (no key passed on).
