pub struct DexTokenData {Show 28 fields
pub address: String,
pub symbol: String,
pub name: String,
pub price_usd: f64,
pub price_change_24h: f64,
pub price_change_6h: f64,
pub price_change_1h: f64,
pub price_change_5m: f64,
pub volume_24h: f64,
pub volume_6h: f64,
pub volume_1h: f64,
pub liquidity_usd: f64,
pub market_cap: Option<f64>,
pub fdv: Option<f64>,
pub pairs: Vec<DexPair>,
pub price_history: Vec<PricePoint>,
pub volume_history: Vec<VolumePoint>,
pub total_buys_24h: u64,
pub total_sells_24h: u64,
pub total_buys_6h: u64,
pub total_sells_6h: u64,
pub total_buys_1h: u64,
pub total_sells_1h: u64,
pub earliest_pair_created_at: Option<i64>,
pub image_url: Option<String>,
pub websites: Vec<String>,
pub socials: Vec<TokenSocial>,
pub dexscreener_url: Option<String>,
}Expand description
Aggregated token data from DEX sources.
Fields§
§address: StringToken contract address.
symbol: StringToken symbol.
name: StringToken name.
price_usd: f64Current price in USD.
price_change_24h: f6424-hour price change percentage.
price_change_6h: f646-hour price change percentage.
price_change_1h: f641-hour price change percentage.
price_change_5m: f645-minute price change percentage.
volume_24h: f6424-hour trading volume in USD.
volume_6h: f646-hour trading volume in USD.
volume_1h: f641-hour trading volume in USD.
liquidity_usd: f64Total liquidity across all pairs in USD.
market_cap: Option<f64>Market capitalization (if available).
fdv: Option<f64>Fully diluted valuation (if available).
pairs: Vec<DexPair>All trading pairs for this token.
price_history: Vec<PricePoint>Historical price points (derived from multiple time frames).
volume_history: Vec<VolumePoint>Historical volume points (derived from multiple time frames).
total_buys_24h: u64Total buy transactions in 24 hours.
total_sells_24h: u64Total sell transactions in 24 hours.
total_buys_6h: u64Total buy transactions in 6 hours.
total_sells_6h: u64Total sell transactions in 6 hours.
total_buys_1h: u64Total buy transactions in 1 hour.
total_sells_1h: u64Total sell transactions in 1 hour.
earliest_pair_created_at: Option<i64>Earliest pair creation timestamp (token age indicator).
image_url: Option<String>Token image URL.
websites: Vec<String>Token website URLs.
Token social media links.
dexscreener_url: Option<String>DexScreener URL for the token.