n8n Guides
n8nsolanacryptofree

Get a Telegram alert on incoming USDC transfers to a Solana wallet

Who this is for: a seller or freelancer getting paid in USDC on Solana who wants a ping only when money actually arrives — not on unrelated NFT mints, SOL fee transfers, or outgoing spend from the same wallet.

What the workflow does

Built on the same 5-minute poll as the wallet transaction alert workflow, but the new signatures found on each run are checked individually: for each one, getParsedTransaction is called and the token balance changes are inspected for the USDC mint address, keeping only transfers where the amount held by your wallet increased. Everything else — outgoing transfers, SOL-only transactions, other tokens — is filtered out before it reaches Telegram.

Procedure

  1. Download the base solana-wallet-watcher.json file and import it.
  2. Set WALLET_ADDRESS to the wallet you're getting paid to, and add USDC_MINT = EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC on Solana mainnet).
  3. After the existing "Trova firme nuove" node, add an HTTP Request node calling getParsedTransaction for each new signature, then a Code node that reads meta.postTokenBalances vs meta.preTokenBalances for your wallet's USDC account and keeps only entries where the delta is positive.
  4. Point the Telegram node at your bot (@BotFather) and include the received amount in the message text.
  5. Activate the workflow.

How it works under the hood

Solana transactions carry preTokenBalances/postTokenBalances per account in their metadata — comparing the two for the USDC mint tells you exactly how much of that token moved in or out of your wallet in that transaction, without needing an indexer or a paid API.

Related: to be pinged on every transaction regardless of token or direction, use the plain wallet transaction alert instead.