> For the complete documentation index, see [llms.txt](https://docs.satoshiterminal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satoshiterminal.io/resources/copy-of-defi-analytics/risk-management-and-security-analytics/validator-exit-risk-analysis.md).

# Validator Exit Risk Analysis

**Implementation Details**

**Class Names**

| Model Name                | Parameters Class    | Data Class   |
| ------------------------- | ------------------- | ------------ |
| ValidatorExitRiskAnalysis | ExitRiskQueryParams | ExitRiskData |

**Import Statement**

```python
pythonCopyEditfrom satoshi_terminal.models.validator_exit_risk_analysis import (
    ValidatorExitRiskAnalysis,
    ExitRiskQueryParams,
    ExitRiskData,
)
```

***

**Parameters**

| Name             | Type                    | Description                                         | Default | Optional |
| ---------------- | ----------------------- | --------------------------------------------------- | ------- | -------- |
| blockchain\_name | str                     | Blockchain to monitor (e.g., Ethereum, Solana).     | None    | False    |
| validator\_ids   | Union\[str, List\[str]] | List of specific validators to track for exit risk. | None    | True     |
| risk\_threshold  | float                   | Threshold (0-100) to flag validators as high risk.  | 80      | True     |

***

**Data**

| Name                  | Type     | Description                                   |
| --------------------- | -------- | --------------------------------------------- |
| validator\_id         | str      | Unique identifier of the validator.           |
| risk\_score           | float    | Exit risk score (0-100) for the validator.    |
| staked\_amount        | float    | Total amount staked by the validator.         |
| projected\_exit\_date | datetime | Estimated date of validator exit, if flagged. |
| timestamp             | datetime | Timestamp of the analysis.                    |

***

**Key Features**

* **Exit Risk Modeling:** Predicts validators at risk of leaving the network, potentially destabilizing the chain.
* **Stake Analysis:** Tracks validator stakes and correlates with their risk of exit.
* **Threshold Alerts:** Notifies users when validators exceed the defined risk threshold.
