> 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.md).

# Settlement

Learn how markets are finalized — from oracle price resolution through validator consensus to automatic reward distribution.

## In This Section

| Page                                                                      | Description                                                              |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [Settlement Process](/forecast-platform/settlement/settlement-process.md) | Complete pipeline: oracle → ranking → validation → on-chain → auto-claim |
| [Oracle Price](/forecast-platform/settlement/oracle-price.md)             | How Pyth Network provides independent, verifiable settlement prices      |
| [Merkle Proofs](/forecast-platform/settlement/merkle-proofs.md)           | How cryptographic proofs enable efficient on-chain reward verification   |
| [Auto Claims](/forecast-platform/settlement/auto-claims.md)               | How rewards are automatically delivered to winner wallets                |
| [Auto Refunds](/forecast-platform/settlement/auto-refunds.md)             | How cancelled markets automatically refund all participants              |

## Settlement Overview

Settlement is fully automated and typically completes within minutes:

1. Oracle price fetched from Pyth Network (with cryptographic attestation)
2. Predictions ranked by accuracy using deterministic algorithm
3. Rewards calculated via UCPRA
4. Independent validators verify results (Byzantine Fault Tolerant consensus)
5. Merkle root submitted on-chain with validator signatures
6. Rewards auto-claimed to all winner wallets
7. Audit report generated for public verification
