> For the complete documentation index, see [llms.txt](https://docs.uniocean.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uniocean.io/forecast-platform/settlement/auto-refunds.md).

# Auto Refunds

When a market is cancelled, refunds are processed automatically. Users receive 100% of their entry fee without taking any action.

## When Refunds Apply

| Condition                  | Description                                                   |
| -------------------------- | ------------------------------------------------------------- |
| Insufficient participation | Fewer than 15 predictions submitted                           |
| Settlement timeout         | Settlement cannot complete within 10 minutes of market close  |
| Oracle unavailability      | Pyth Network price data not available for the asset/timestamp |
| Invalid timing             | Edge cases in market scheduling or configuration              |

## Refund Guarantees

* **100% refund** — full entry fee returned to every participant
* **No gas fees** — the platform covers all transaction costs for refunds
* **Automatic** — no user action required to receive refund
* **Persistent** — system retries until all refunds succeed

## Refund Flow

```mermaid
flowchart LR
    A[Market Cancelled] --> B[Identify All Entries]
    B --> C[Calculate Full Refund Per User]
    C --> D[Batch Refund Transactions]
    D --> E[Wallets Credited]
```

## Retry Logic

If a refund transaction fails due to network congestion or temporary issues, the system automatically retries. Refunds are never lost or abandoned.

The platform uses a pool of relay wallets with gas monitoring. If one wallet runs low on funds for gas, refunds are routed through another wallet automatically.

## What Users See

When a market is cancelled:

1. Market status changes to **Cancelled**
2. A notification is sent (if subscribed)
3. Entry fee appears back in wallet balance
4. Transaction is visible in dashboard history

## Multiple Predictions

If a user submitted multiple predictions to a cancelled market (e.g., 5 predictions × 10 USDT each), they receive a full refund for each prediction (50 USDT total).

***

## Related Pages

* [Settlement Process](/forecast-platform/settlement/settlement-process.md)
* [Market Cancellation](/forecast-platform/markets/market-cancellation.md)
* [FAQ](/forecast-platform/faq/faq.md)
