blokboard/ Open app

EXAMPLE 10 OF 16 · Easy

Follow a Pump coin into its new pool

Watch a mint’s graduation, inspect the resulting PumpSwap pool, and send its token pair and reserves to Telegram.

Browser or DesktopPump.funPumpSwapTelegramExpressions

Before you begin#

  • Choose Solana mainnet and a working RPC route in runtime settings. These examples read live data; illustrative results below will differ.
  • Create and select your bot using Telegram setup, then set chatId in Globals. Keep bot tokens in the connection.
  • Set mintAddress to the coin to follow. This observes future graduations; an already graduated coin will not produce its old event again.

WORKFLOW SNAPSHOT

Pump graduation to pool report

5 nodes

Interactive workflow preview loads here. Download the JSON to inspect it in the app.

Import creates an inactive copy. Set your own inputs and connections before running.

3 setup requirements
  • input: Set mintAddress in Globals
  • input: Set chatId in Globals
  • connection: Choose the telegram connection for send

Walk through the workflow#

  1. Watch graduations filters events to mintAddress.
  2. Get PumpSwap pool receives the pool address from the graduation event through an expression.
  3. Code combines the pool identity and reserves into a message. Telegram sends it to your configured chat.

Read the result#

The mint identifies the coin; the pool identifies the new trading venue. The message names both token mints so a price in quote units is not accidentally labelled USD or SOL.

Make one change#

Add the graduation signature from pumpWatchGraduations.output.signature to the message. This connects the event with the later pool snapshot. Change the watcher timeout from 300 to 0 when you want it to keep listening.

If it does not match#

A completed bonding curve and a pool snapshot are different observations. Use Get Pump coin for current state if you arrived after graduation. Stop the listener when you are done.