# Reputation-Based Wallet Scoring

**Implementation Details**

**Class Names**

| Model Name              | Parameters Class            | Data Class           |
| ----------------------- | --------------------------- | -------------------- |
| ReputationWalletScoring | WalletReputationQueryParams | WalletReputationData |

**Import Statement**

```python
pythonCopyEditfrom satoshi_terminal.models.reputation_based_wallet_scoring import (
    ReputationWalletScoring,
    WalletReputationQueryParams,
    WalletReputationData,
)
```

***

**Parameters**

| Name              | Type                    | Description                                                               | Default | Optional |
| ----------------- | ----------------------- | ------------------------------------------------------------------------- | ------- | -------- |
| wallet\_address   | Union\[str, List\[str]] | Wallet address(es) to evaluate for reputation scoring.                    | None    | False    |
| scoring\_criteria | List\[str]              | Criteria for scoring (e.g., "Transaction History," "DeFi Participation"). | None    | True     |
| time\_horizon     | int                     | Time window (in days) for evaluating wallet activities.                   | 30      | True     |

***

**Data**

| Name               | Type       | Description                                                                   |
| ------------------ | ---------- | ----------------------------------------------------------------------------- |
| wallet\_address    | str        | Wallet address analyzed for reputation.                                       |
| reputation\_score  | float      | Overall reputation score (0-100).                                             |
| scoring\_breakdown | dict       | Breakdown of scores by criteria (e.g., transaction volume, staking activity). |
| flagged\_behaviors | List\[str] | List of detected behaviors that negatively impacted reputation.               |
| timestamp          | datetime   | Timestamp of the analysis.                                                    |

***

**Key Features**

* **Behavioral Scoring:** Evaluates wallets based on transaction patterns, DeFi activity, and compliance.
* **Customizable Criteria:** Allows users to define metrics that contribute to reputation scoring.
* **Risk Alerts:** Flags wallets exhibiting risky behaviors like frequent liquidation events or anomalies.


---

# 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/risk-management-and-security-analytics/reputation-based-wallet-scoring.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.
