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

# isDepositRolloverOpen()

> **isDepositRolloverOpen**(`status`): `boolean`

Whether a deposit's rollover can still change: `true` for `pending`, `credit_pending` and any status the SDK
does not know yet (a new gateway status is not treated as settled before the SDK learns it); `false` for the
settled ones (`not_required`, `completed`, `waived`, `exhausted`, `credit_failed`, `credit_reversed`). Use it to
split the per-deposit list into "in progress" and "history".

## Parameters

### status

[`DepositRolloverStatus`](../type-aliases/DepositRolloverStatus.md)

The deposit's `status`, as [WalletApi.getDepositRollover](../interfaces/WalletApi.md#getdepositrollover) returns it.

## Returns

`boolean`

## Example

```ts
const open = deposits.filter((d) => isDepositRolloverOpen(d.status))
const history = deposits.filter((d) => !isDepositRolloverOpen(d.status))
```

## Throws

Nothing.
