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

# PredictionsMutations

Mutations for prediction markets, one per write method: `m.<namespace>.<method>()` returns
`{ mutationKey, mutationFn, invalidates }`. Obtained with [createPredictionsMutations](../functions/createPredictionsMutations.md).

## Properties

### comments

> `readonly` **comments**: [`MutationsOf`](../../../sdk/query/type-aliases/MutationsOf.md)<[`CommentsApi`](../../interfaces/CommentsApi.md), `"create"` | `"like"` | `"unlike"`>

Comment, like and unlike.

***

### orders

> `readonly` **orders**: [`IdempotentMutationsOf`](../../../sdk/query/type-aliases/IdempotentMutationsOf.md)<[`OrdersApi`](../../interfaces/OrdersApi.md), `"place"`> & [`MutationsOf`](../../../sdk/query/type-aliases/MutationsOf.md)<[`OrdersApi`](../../interfaces/OrdersApi.md), `"cancel"` | `"placeBatch"` | `"amend"`>

Place an order (idempotent: accepts `{ idempotencyKey }` on the factory), place a batch (each order's key
goes in the order itself; see [createPredictionsMutations](../functions/createPredictionsMutations.md)), cancel and amend.
