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

# CallOptions

Options accepted by every SDK method.

## Properties

### fetchOptions?

> `optional` **fetchOptions?**: [`FetchOptions`](../type-aliases/FetchOptions.md)

Extra `fetch` options for this specific request.

***

### idempotencyKey?

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

Idempotency key (`Idempotency-Key` header) to repeat an operation without duplicating it:
after a network error, call again with the **same** key. Only idempotent methods (those that
move money, like deposit and withdrawal) use it; on the others it is ignored. Without it, the SDK generates
a key per call and reuses it on the internal retry after renewing the session. Use a unique value per
operation, e.g. `crypto.randomUUID()`. Empty text is treated as absent.

***

### signal?

> `optional` **signal?**: `AbortSignal`

Cancels the request (e.g. TanStack Query's `signal`).
