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

# IdempotentMutationsOf\<Api, K>

> **IdempotentMutationsOf**<`Api`, `K`> = `{ readonly [M in K]: IdempotentMutationFactory<Api[M]> }`

Mutation factories of a namespace (`Api`) for the idempotent methods `K` (they accept
`{ idempotencyKey }`).

## Type Parameters

### Api

`Api`

### K

`K` *extends* keyof `Api`

## Example

```ts
type DepositsMutations = IdempotentMutationsOf<DepositsApi, 'createPix'>
```
