Decentralized Exchange Fee Ranking
Implementation Details
Class Names
DEXFeeRanking
DEXFeeQueryParams
DEXFeeData
Import Statement
pythonCopyEditfrom satoshi_terminal.models.dex_fee_ranking import (
DEXFeeRanking,
DEXFeeQueryParams,
DEXFeeData,
)Parameters
dex_list
List[str]
List of DEXs to compare (e.g., Uniswap, SushiSwap).
None
False
transaction_type
str
Type of transaction to rank fees for (e.g., "Swaps," "Liquidity Additions").
None
True
time_range
Tuple[datetime, datetime]
Date range for evaluating fees.
None
True
Data
dex_name
str
Name of the decentralized exchange analyzed.
average_fee
float
Average transaction fee for the specified type.
fee_rank
int
Rank of the DEX based on fee competitiveness.
transaction_volume
float
Total volume of transactions considered.
timestamp
datetime
Timestamp of the ranking analysis.
Key Features
Fee Comparisons Across DEXs: Ranks decentralized exchanges by transaction fees.
Transaction-Specific Metrics: Provides fee data tailored to specific transaction types.
Volume-Weighted Rankings: Incorporates trading volume to adjust rankings for high-activity DEXs.
Last updated
