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

# CasinoTransaction

Movement of a casino round (`GET /games/history`).

## Properties

### amount

> **amount**: `number`

Value in minor units of `currency` (the gateway sends it as text; the SDK converts).

***

### createdAt

> **createdAt**: `string`

Movement date, ISO 8601 (UTC).

***

### currency

> **currency**: `string`

Currency code, e.g. `BRL`.

***

### currencyDecimalPlaces

> **currencyDecimalPlaces**: `number`

Decimal places of the currency (e.g. `2` for BRL), to format `amount`.

***

### gameId

> **gameId**: `string`

Game id.

***

### gameName

> **gameName**: `string`

Game name.

***

### id

> **id**: `string`

Movement id.

***

### roundId

> **roundId**: `string`

Round id (the bet and the prize of the same round share it).

***

### type

> **type**: [`CasinoTransactionType`](../type-aliases/CasinoTransactionType.md)

Type, e.g. `bet`, `win`.
