Blockchain-Specific Gas Consumption Models
Implementation Details
Class Names
BlockchainGasConsumptionModels
GasConsumptionQueryParams
GasConsumptionData
Import Statement
pythonCopyEditfrom satoshi_terminal.models.blockchain_gas_consumption_models import (
BlockchainGasConsumptionModels,
GasConsumptionQueryParams,
GasConsumptionData,
)Parameters
blockchain_name
Union[str, List[str]]
Blockchain(s) to monitor for gas consumption (e.g., Ethereum, Solana).
None
False
activity_type
str
Type of activity (e.g., "Token Transfers," "Contract Deployments").
None
True
time_window
int
Time window (in hours) for analyzing gas consumption trends.
24
True
Data
blockchain_name
str
Blockchain analyzed for gas consumption.
activity_type
str
Type of activity contributing to gas consumption.
total_gas_used
float
Total gas consumed during the time window.
gas_cost_per_activity
dict
Average gas cost per transaction or activity type.
timestamp
datetime
Timestamp of the gas consumption analysis.
Key Features
Activity-Based Gas Tracking: Monitors gas usage by activity type, enabling granular insights.
Blockchain Comparisons: Highlights variations in gas consumption across multiple blockchains.
Historical Trends: Tracks changes in gas usage over time for predictive modeling.
Last updated
