Anyone knows the correct way to catch CMM Raydium pools?
I tried with this and I receive all the transactions, but can’t find the correct string to filterfor (like when catching AMM pools its ‘intialize2’).
const eventString = 'CMM pool created' // this string!! const subscriptionId = this.app.connection.onLogs( MAINNET_PROGRAM_ID.CLMM, (logs, ctx) => { if (logs.logs.some(log => log.includes(eventString))) { console.log('New CMM pool detected!') } }, this.app.connection.commitment )
Anyone has an idea? thanks
submitted by /u/Critical_Ad3204
[link] [comments]
Join The SmashBotAI Telegram Community Now! Get trade alerts, smashable token trade ideas, and more!
https://t.me/smashbotcommunity
Start Trading Now:
SmashBotAI Telegram Bot