Solana Webhooks: The Complete Guide to Real-Time On-Chain Alerts (2026)
Learn how to set up Solana webhooks for real-time blockchain alerts. Compare Helius, QuickNode, Shyft, and Triton webhook providers, with TypeScript code examples for wallet monitoring, NFT sales alerts, and payment confirmation.

Disclosure: This article contains affiliate links. If you sign up through them, MadeOnSol may earn a commission at no extra cost to you. This never affects our rankings, ratings, or reviews.
Every meaningful event on Solana — a token transfer, an NFT sale, a program invocation — is a transaction. If your application needs to react to those events in real-time, you have four main options: polling, WebSockets, gRPC streams, and webhooks.
Webhooks are the simplest. Instead of your application maintaining a persistent connection or repeatedly querying the chain, the provider watches for events matching your criteria and sends an HTTP POST to your server when they occur. No connection management, no parsing raw transactions, no infrastructure overhead.
This guide covers everything you need to set up Solana webhooks in production: how they work, which providers to use, and how to build reliable webhook handlers with TypeScript.
What Are Solana Webhooks?
A webhook is a server-to-server HTTP callback. You register a URL with a provider, specify which on-chain events you care about, and the provider sends a POST request to your URL whenever a matching event occurs.
For Solana, this means you can get notified about:
- Transfers to or from a specific wallet
- Any transaction involving a particular program
- NFT mints, sales, and transfers
- Token balance changes above a threshold
- Account data modifications
The provider handles the hard parts: running Solana validators or RPC nodes, parsing transaction data, matching events to your filters, and retrying failed deliveries.
Webhooks vs WebSockets vs gRPC vs Polling
Choosing the right real-time data method depends on your use case. Here is how each approach compares:
| Feature | Webhooks | WebSockets | gRPC (Yellowstone) | Polling |
|---|---|---|---|---|
| Connection model | Push (HTTP POST) | Persistent bidirectional | Persistent stream | Pull (repeated requests) |
| Latency | 200-500ms | 50-200ms | 10-50ms | Depends on interval |
| Infrastructure needed | HTTP endpoint | WebSocket client | gRPC client + plugin | HTTP client |
| Complexity | Low | Medium | High | Low |
| Reliability | Provider handles retries | Must handle reconnects | Must handle reconnects | Simple but wasteful |
| Cost | Usually included in plan | Varies | Node cost or provider fee | RPC credits per request |
| Best for | Alerts, notifications, async processing | Live dashboards, trading UIs | High-frequency trading, indexing | Low-frequency checks |
If you need sub-100ms latency for trading or indexing, gRPC streaming is the better choice. If you want a live UI with flexible subscriptions, WebSockets work well. But for alerts, notifications, and async event processing, webhooks are the most practical option.
Provider Comparison
Four major providers offer Solana webhook functionality, each with different strengths.
Helius
Helius is the most popular choice for Solana webhooks. It offers enhanced webhooks that deliver parsed, human-readable transaction data rather than raw bytes. You can filter by transaction type (NFT sale, token transfer, etc.), specific accounts, or programs. For a fuller tour of the platform beyond webhooks, see our complete guide to using Helius.
- Webhook types: Enhanced (parsed data), Raw (full transaction), Discord (formatted messages)
- Free tier: 1 webhook included
- Filters: Account, program, transaction type, native transfers
- Extras: Automatic transaction parsing, built-in Discord integration
QuickNode
QuickNode provides webhook functionality through its QuickAlerts product. It supports Solana along with 30+ other chains, making it a good choice for multi-chain projects.
- Webhook types: Custom expressions with filtering logic
- Free tier: Limited alerts included
- Filters: Custom JavaScript expressions on transaction data
- Extras: Multi-chain support, visual expression builder
Shyft
Shyft offers callback-style webhooks with strong NFT and token parsing. Its GraphQL API pairs well with webhooks for enriching event data.
- Webhook types: Account monitoring, transaction callbacks
- Free tier: Included with API access
- Filters: Account-based, program-based
- Extras: GraphQL API for data enrichment, NFT-focused parsing
Triton
Triton (by Triton One) focuses on high-performance Solana infrastructure. Its webhook and streaming offerings target teams that need low-latency, high-throughput event delivery.
- Webhook types: gRPC-based event forwarding, HTTP callbacks
- Free tier: No (infrastructure-tier pricing)
- Filters: Account, program, slot-level
- Extras: Dedicated infrastructure, Yellowstone gRPC integration
MadeOnSol
MadeOnSol webhooks differ from the four above. Instead of raw on-chain events (transfers, NFT sales), they push trading-intelligence events — a tracked KOL wallet buying, a known deployer launching, multiple smart wallets converging on a token, or a token graduating. The provider runs the indexing and pattern-matching; you receive a finished signal rather than a transaction to parse.
- Webhook types: KOL trade, deployer alert, coordination/convergence, token graduation
- Free tier: 200 requests/day; webhooks on paid tiers
- Filters: Wallet set, market-cap band, minimum KOL count, deployer tier
- Extras: HMAC-signed delivery, sub-second pg_notify architecture, WebSocket streaming
For a hands-on build of that deployer-alert event type, see the pump.fun deployer Discord bot tutorial or its zero-server free-tier polling variant.
Setting Up a Webhook with Helius
Here is a complete TypeScript example for registering a webhook with Helius and handling incoming events.
Step 1: Register the Webhook
const HELIUS_API_KEY = process.env.HELIUS_API_KEY!;
async function createWebhook(walletAddress: string, webhookUrl: string) {
const response = await fetch(
`https://api.helius.xyz/v0/webhooks?api-key=${HELIUS_API_KEY}`,
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
webhookURL: webhookUrl,
transactionTypes: ["TRANSFER", "SWAP", "NFT_SALE"],
accountAddresses: [walletAddress],
webhookType: "enhanced",
// Helius echoes this value in the Authorization header of every delivery
authHeader: process.env.HELIUS_WEBHOOK_AUTH,
}),
}
);
const webhook = await response.json();
console.log("Webhook created:", webhook.webhookID);
return webhook;
}
Step 2: Build the Webhook Handler
Helius does not sign deliveries with an HMAC. Instead, the authHeader value you set when creating or updating the webhook is sent back in the Authorization header of each delivery, and you check that it matches (Helius webhook FAQ). Reject any request where the header is missing or different:
import express from "express";
import crypto from "crypto";
const app = express();
app.use(express.json());
// The same value you passed as authHeader when creating the webhook
const HELIUS_WEBHOOK_AUTH = process.env.HELIUS_WEBHOOK_AUTH!;
function isFromHelius(authorization: string | undefined): boolean {
if (typeof authorization !== "string") return false;
// Compare fixed-length digests so the comparison is constant-time and never throws
const got = crypto.createHash("sha256").update(authorization).digest();
const want = crypto.createHash("sha256").update(HELIUS_WEBHOOK_AUTH).digest();
return crypto.timingSafeEqual(got, want);
}
app.post("/webhook/solana", (req, res) => {
if (!isFromHelius(req.get("authorization"))) {
return res.status(401).json({ error: "Unauthorized" });
}
const events = Array.isArray(req.body) ? req.body : [req.body];
for (const event of events) {
processEvent(event);
}
// Respond quickly — process async
res.status(200).json({ received: true });
});
function processEvent(event: any) {
switch (event.type) {
case "TRANSFER":
console.log(
`Transfer: ${event.nativeTransfers?.[0]?.amount / 1e9} SOL`
);
break;
case "SWAP":
console.log(`Swap on ${event.source}: ${event.description}`);
break;
case "NFT_SALE":
console.log(`NFT sold: ${event.description}`);
break;
default:
console.log(`Event: ${event.type}`);
}
}
app.listen(3100, () => console.log("Webhook server running on port 3100"));
Step 3: Add Retry Logic
Webhook deliveries can fail due to network issues or temporary server downtime. Most providers retry automatically, but your handler should be idempotent:
const processedSignatures = new Set<string>();
function processEventIdempotent(event: any) {
const txSignature = event.signature;
if (processedSignatures.has(txSignature)) {
console.log(`Skipping duplicate: ${txSignature}`);
return;
}
processedSignatures.add(txSignature);
// Prevent unbounded memory growth
if (processedSignatures.size > 10_000) {
const oldest = processedSignatures.values().next().value;
processedSignatures.delete(oldest);
}
processEvent(event);
}
For production, replace the in-memory Set with Redis or a database table to persist deduplication state across restarts.
Building a product on Solana or Robinhood Chain data?
Skip the Geyser pipeline — embed KOL flow, deployer reputation, and the all-DEX firehose over REST, WebSocket, or webhooks. The Business tier (€400/mo) is the self-serve embed license at 500k calls/day — Enterprise adds white-label & redistribution.
Use Case: Wallet Monitoring
Track all activity on a wallet — useful for treasury monitoring, whale watching, or personal alerts:
await createWebhook(
"YourWalletAddressHere",
"https://yourserver.com/webhook/wallet"
);
// In your handler:
function handleWalletEvent(event: any) {
const solChange = event.nativeTransfers?.reduce(
(sum: number, t: any) =>
t.toUserAccount === "YourWalletAddressHere"
? sum + t.amount
: sum - t.amount,
0
);
if (solChange && Math.abs(solChange) > 1e9) {
// Alert on transfers > 1 SOL
sendAlert(`Wallet activity: ${solChange / 1e9} SOL`);
}
}
Use Case: NFT Sales Alerts
Monitor a collection for sales across marketplaces:
await createWebhook(
"CollectionMintAuthority",
"https://yourserver.com/webhook/nft-sales"
);
// Filter for NFT_SALE events in your handler
function handleNftSale(event: any) {
if (event.type !== "NFT_SALE") return;
const { amount, buyer, seller, nfts } = event.events?.nft || {};
const solPrice = (amount || 0) / 1e9;
console.log(`Sale: ${nfts?.[0]?.mint} for ${solPrice} SOL`);
console.log(`Buyer: ${buyer}, Seller: ${seller}`);
}
Use Case: Program Activity Tracking
Monitor a specific program for all interactions — useful for protocol analytics or security monitoring:
const PROGRAM_ID = "YourProgramIdHere";
const response = await fetch(
`https://api.helius.xyz/v0/webhooks?api-key=${HELIUS_API_KEY}`,
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
webhookURL: "https://yourserver.com/webhook/program",
accountAddresses: [PROGRAM_ID],
webhookType: "raw",
txnStatus: "confirmed",
}),
}
);
Use Case: Payment Confirmation
Confirm incoming payments without polling the chain. For more on building alert systems, see our Solana alerts and notifications guide.
function handlePayment(event: any) {
const transfers = event.nativeTransfers || [];
const incoming = transfers.find(
(t: any) =>
t.toUserAccount === MERCHANT_WALLET &&
t.amount >= EXPECTED_AMOUNT_LAMPORTS
);
if (incoming) {
confirmOrder(event.signature, incoming.amount);
}
}
Production Best Practices
Running webhooks in production requires more than just a handler. Keep these points in mind:
-
Always authenticate deliveries. Without a check, anyone can send fake events to your endpoint. Each provider has its own scheme: Helius echoes your
authHeaderin theAuthorizationheader (as shown above), while MadeOnSol signs every delivery with an HMAC-SHA256 over the timestamp header and the raw body (see how to verify MadeOnSol webhook signatures). Follow the scheme your provider documents. -
Respond with 200 quickly. Process events asynchronously after acknowledging receipt. Providers will retry if your endpoint takes too long to respond (typically 5-10 seconds timeout).
-
Make handlers idempotent. Providers retry on failure, so you may receive the same event multiple times. Deduplicate by transaction signature.
-
Use a queue for heavy processing. If your event processing involves database writes, external API calls, or complex logic, push events to a queue (Redis, SQS, BullMQ) and process them in a worker.
-
Monitor your endpoint. Track response times, error rates, and missed events. Set up alerts if your webhook endpoint goes down.
-
Secure your endpoint. Use HTTPS, restrict access by IP if your provider publishes their IP ranges, and validate all incoming data.
FAQ
What is a Solana webhook and how does it work?
A Solana webhook is an HTTP callback that notifies your server when specific on-chain events occur. You register a URL with a provider like Helius or QuickNode, specify your filters (wallet addresses, programs, transaction types), and the provider sends a POST request to your endpoint whenever a matching transaction is confirmed. This eliminates the need to poll the blockchain or maintain persistent connections.
How do Solana webhooks compare to gRPC streaming?
Webhooks and gRPC serve different needs. Webhooks deliver events via HTTP POST with 200-500ms latency and require no persistent connection, making them ideal for alerts, notifications, and async workflows. gRPC streams deliver events with 10-50ms latency over a persistent connection, suited for trading bots and real-time indexing. For a deep dive into gRPC, see our gRPC streaming guide.
Which Solana webhook provider should I choose?
For most developers, Helius is the best starting point. Its enhanced webhooks deliver parsed transaction data, it includes a free tier with one webhook, and it has the largest Solana-specific feature set. If you need multi-chain support, QuickNode covers 30+ chains. For NFT-heavy projects, Shyft offers strong NFT parsing. For high-performance infrastructure needs, Triton provides dedicated Yellowstone-backed delivery. And if you need signal events rather than raw transactions — KOL buys, deployer launches, wallet coordination — MadeOnSol delivers those as HMAC-signed webhooks.
Are Solana webhooks reliable enough for payments?
Webhooks are reliable for payment notifications but should not be your only verification method. Use webhooks as the trigger, then independently verify the transaction on-chain using the signature before crediting a user. Retries are short: Helius, for example, retries a failed delivery up to 3 times with a 1-second gap and then drops the event (Helius webhook FAQ), so endpoint downtime can lose events outright. Combine webhooks with periodic polling as a fallback for critical payment flows.
Summary
Solana webhooks give you the simplest path to real-time on-chain alerts. Register an endpoint, define your filters, and let the provider handle the infrastructure. For most notification and monitoring use cases, webhooks hit the right balance of simplicity, reliability, and cost.
If your use case demands lower latency, explore gRPC streaming or WebSocket-based DEX trade streams for real-time data feeds — and if you go the WebSocket route, our reconnect-loop guide walks through the token-refresh and backoff handling a persistent connection needs in production.
Tools mentioned
Compare features and read reviews.
Live health scores, average ratings, and direct links on MadeOnSol.
Helius
The developer platform for building on Solana

STA (Solana Token Alerts)
Free alerts when trending Solana tokens lose their liquidity, confirmed by trading volume

Helius AirShip
ZK compression-powered Solana token airdrop tool that is 1000x cheaper

Helius MCP Server
60+ tools for querying Solana, sending transactions, and managing webhooks via MCP
Build with MadeOnSol API
KOL tracking, deployer intelligence, DEX streaming, and webhooks. Free API key — 200 requests/day.
import { MadeOnSol } from "madeonsol";
// Get a free API key at madeonsol.com/pricing
const client = new MadeOnSol({ apiKey: "msk_your_key" });
const { trades } = await client.kol.feed({ limit: 10 });
const { alerts } = await client.deployer.alerts({ limit: 5 });
const { tools } = await client.tools.search({ q: "trading" });Building a product on Solana or Robinhood Chain data?
MadeOnSol isn't an RPC or another generic token API — it's Solana & Robinhood Chain memecoin intelligence that's painful to build in-house, pulled from dual-region gRPC shred streams and our own Robinhood Chain node, pushed to your app as events land.
Signals you'd otherwise build
KOL & smart-money flow from 2,000+ labeled wallets, deployer reputation, coordination clusters, linked-wallet entity resolution, and an all-DEX firehose.
Embed it in your product
The Business tier (€400/mo, self-serve) licenses you to display MadeOnSol data inside your own product — 500k calls/day, 15 WS + 6 firehose connections. Enterprise above adds white-label & redistribution rights and custom endpoints.
Evaluate first, commit later
Test everything on a free ULTRA key — no commitment. If it fits, we scope volume or white-label pricing.
Keep reading
More from the blog.

Developer Tools
How to Stream Real-Time Solana DEX Trades with WebSockets
Build a Solana DEX trade monitor on MadeOnSol's filtered WebSocket firehose. Covers the current permanent stream-token flow, 14 decoded programs across 8 venues, named subscriptions, replay, and production reconnects.

Developer Tools
How to Build a Solana Token Analytics Dashboard (Price, Holders, Volume, Liquidity)
Learn how to build a Solana token analytics dashboard that combines real-time price feeds, holder data, trading volume, and liquidity metrics into a single view using TypeScript and the MadeOnSol API.

Developer Tools
How to Track Solana Program Activity: Instructions, Events & CPI Chains
Learn how to track Solana program activity by monitoring program IDs, decoding instructions with Anchor IDLs, parsing custom events, and following CPI chains. Covers real use cases like DEX monitoring and pool creation detection.

Developer Tools
From On-Chain to Webhook: Architecting a Solana Signal Pipeline
How regional gRPC ingestion, a Postgres event bus, rule evaluation and signed delivery fit together—and where latency and recovery still have limits.

Developer Tools
Solana Account Data: How Programs Store State On-Chain (2026 Guide)
Solana stores everything in accounts. This guide explains the Solana account model, account structure (lamports, data, owner), program accounts, PDAs, token accounts, and how to read and deserialize account data with practical TypeScript examples.

API Guides
Inside the Live Terminal Demo: REST Snapshots Plus WebSocket Updates for Solana and Robinhood Chain
A tour of the MadeOnSol live terminal demo: which panels stream, which refresh and which load on request, how one REST snapshot and one WebSocket subscription feed each screen, and how to build the same thing in your own terminal.
Enjoyed this article?
Explore the live data.
Real-time KOL trades, Pump.fun deployer intel, and 1,200+ ranked Solana & Robinhood Chain tools — free to explore.
Open the KOL Tracker