PumpFetch Telegram Bot is a professional tool designed to deliver comprehensive token data directly within Telegram. The bot automatically recognizes valid Solana contract addresses (also called mint addresses or CAs), which are exactly 44 alphanumeric characters long, and returns detailed information such as Bundle, Sniper, and Developer holdings.
It seamlessly works in private chats, groups, and channels—providing dynamic responses and automatically formatting output with dynamic links and risk/security indicators.
The Telegram Bot is implemented in Python using python-telegram-bot v20+ and asynchronous programming. Recent improvements include:
asyncio.get_running_loop().run_in_executor()
to keep the bot responsive.
The code is modular and well-structured, enabling easy maintenance and future enhancements.
The core processing function, process_mint_address()
, has been updated with the following key changes:
/^[A-Za-z0-9]{44}$/
) to verify that the incoming message is a valid contract address.
asyncio.get_running_loop().run_in_executor()
to run the synchronous fetch_all_data()
function without blocking the event loop.
if (!preg_match('/^[A-Za-z0-9]{44}$/', $mint_address)) { // Ignore messages that are not valid contract addresses. return; }
This design ensures that only valid contract addresses trigger a data query, making the bot more efficient and reducing noise in group chats.
The Telegram Bot is deployed on a dedicated Python 3 server. Continuous polling is used to receive updates, and detailed logging captures any errors or issues. The bot’s asynchronous architecture ensures high responsiveness even in high-traffic scenarios.