1.5 KiB
1.5 KiB
WalletAnalysis
Full wallet analysis — risk + tokens + recent activity.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| address | str | ||
| chain | str | ||
| truncated_address | str | ||
| risk_score | int | [optional] [default to 0] | |
| risk_level | AppDomainTokenModelsRiskLevel | ||
| tokens | List[TokenHolding] | [optional] | |
| recent_transactions | List[Transaction] | [optional] | |
| labels | List[str] | Known labels (e.g. 'Binance', 'Vitalik') | [optional] |
| flags | List[ScanFlag] | [optional] | |
| total_value_usd | float | [optional] [default to 0.0] | |
| analyzed_at | datetime | [optional] |
Example
from rugmunch.models.wallet_analysis import WalletAnalysis
# TODO update the JSON string below
json = "{}"
# create an instance of WalletAnalysis from a JSON string
wallet_analysis_instance = WalletAnalysis.from_json(json)
# print the JSON string representation of the object
print(WalletAnalysis.to_json())
# convert the object into a dict
wallet_analysis_dict = wallet_analysis_instance.to_dict()
# create an instance of WalletAnalysis from a dict
wallet_analysis_from_dict = WalletAnalysis.from_dict(wallet_analysis_dict)