> 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/performance-and-efficiency-metrics/blockchain-congestion-predictors.md).

# Blockchain Congestion Predictors

**Implementation Details**

**Class Names**

| Model Name                     | Parameters Class      | Data Class               |
| ------------------------------ | --------------------- | ------------------------ |
| BlockchainCongestionPredictors | CongestionQueryParams | CongestionPredictionData |

**Import Statement**

```python
pythonCopyEditfrom satoshi_terminal.models.blockchain_congestion_predictors import (
    BlockchainCongestionPredictors,
    CongestionQueryParams,
    CongestionPredictionData,
)
```

***

**Parameters**

| Name               | Type | Description                                                                 | Default        | Optional |
| ------------------ | ---- | --------------------------------------------------------------------------- | -------------- | -------- |
| blockchain\_name   | str  | Blockchain to analyze (e.g., Ethereum, Solana).                             | None           | False    |
| prediction\_window | int  | Time horizon (in minutes) for congestion predictions.                       | 30             | True     |
| activity\_type     | str  | Type of activity to monitor (e.g., "Transactions," "Smart Contract Calls"). | "Transactions" | True     |

***

**Data**

| Name                 | Type     | Description                                    |
| -------------------- | -------- | ---------------------------------------------- |
| blockchain\_name     | str      | Blockchain being analyzed.                     |
| congestion\_score    | float    | Predicted congestion score (0-100).            |
| transaction\_backlog | int      | Estimated number of pending transactions.      |
| gas\_fee\_prediction | float    | Projected gas fees based on congestion levels. |
| timestamp            | datetime | Timestamp of the congestion prediction.        |

***

**Key Features**

* **Gas Fee Predictions:** Provides forward-looking estimates of gas fees based on expected congestion.
* **Transaction Backlog Analysis:** Highlights pending transactions and their expected impact on network activity.
* **Activity-Specific Monitoring:** Focused predictions for specific activities like contract interactions or token transfers.
