# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.satoshiterminal.io/resources/copy-of-defi-analytics/performance-and-efficiency-metrics/blockchain-congestion-predictors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
