Sent automatically whenever whitelist trading statistics update.
interface WhitelistTradingStatsResponse { type: 'WHITELIST_TRADING_STATS'; data: { bought: number; // Total SOL bought by whitelisted addresses sold: number; // Total SOL sold by whitelisted addresses net: number; // Net SOL (sold - bought) trades: number; // Total number of trades solPrice: number; // Current SOL price in USD timestamp: number; // When the stats were calculated };}
Sent automatically whenever the SOL price updates.
interface SolPriceUpdateResponse { type: 'SOL_PRICE_UPDATE'; data: { solPrice: number; // Current SOL price in USD timestamp: number; // When the price was updated };}
Sent automatically for every trade (including non-whitelisted).
interface TokenPriceUpdateResponse { type: 'TOKEN_PRICE_UPDATE'; data: { tokenPrice: number; // Current token price from latest trade tokenMint: string; // Token mint address timestamp: number; // When the trade occurred tradeType: 'buy' | 'sell'; // Type of trade that updated the price volume: number; // SOL volume of the trade };}