Hello User! 👋
This will scrape from Dexscreener trending tokens by running the /dex path.
- You need to add a bot inside a group. 🤖
- You need to get the channel ID. 📨
- You need to get the WebSocket URL for the filters for the Dexscreener. Use this format:
wss://io.dexscreener.com/dex/screener/v4/pairs/h24/1?rankBy[key]=trendingScoreH6&rankBy[order]=desc
- You need to ping Dex for the desired time. Use a cron job. ⏰
- NOTE: This code is finetuned for Solana Tokens