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.

The latency that matters to a bot is the time between an on-chain trade and the moment its own handler receives a usable signal. A fast node-to-parser measurement covers only one part of that path. This guide follows a Solana copy-trade signal from regional gRPC ingestion to a signed webhook or WebSocket frame and explains how to measure each boundary.
The source can be any wallet admitted by an active copy-trade rule; it does not have to be a tracked KOL wallet. KOL attribution adds context where available. The benchmarks page carries current published measurements. Numbers from a September 2026 internal audit are historical observations, not a current end-to-end webhook guarantee.
The stages to measure
Record timestamps at the chain event, service receipt, parse completion, database commit, rule match, signal insertion, outbound send and subscriber receipt. Distinguish chain block time from service receive time, and compare clocks carefully. Percentiles from different samples must not be added as if they describe the same transaction.
In the September audit, a chain-to-row proxy and internal parse-to-emit timings were measured, but the subscriber delivery hop had no complete measurement. That means the audit cannot establish a general “sub-second webhook” claim. Your own handler, network path and webhook response time are part of the result.
1. Regional gRPC ingestion
kol-tracker consumes Kaldera Yellowstone gRPC streams from configured regions. The configured set can run multiple streams and keep another region in reserve for failover; it should not be described as a permanently fixed Frankfurt-plus-New-York pair. The service parses supported swaps, deduplicates repeated observations and tracks region health. Redundant sources reduce exposure to one region's lag or outage, but do not make capture complete during every provider or process failure.
The service also admits followed non-KOL source wallets for copy-trade rules. A recovered historical row is stored as history and is not emitted as a fresh trading signal. This boundary matters: replaying a missed transaction must never cause an old trade to become a new order instruction.
2. Store the observation and publish an event
For a live qualifying KOL trade, the current critical path writes kol_trades and publishes a kol:trade notification on madeonsol_events in one database statement. This is not the generic AFTER INSERT trigger shown in an earlier version of this article. Some enrichment is served from a local cache; a bounded market-cap lookup can miss its budget and the row is backfilled later. Do not hold the live event indefinitely for optional metadata.
Postgres LISTEN/NOTIFY is useful when services already connect to the same database and event payloads are small. It is an ephemeral signal, not a durable queue. A listener that is disconnected can miss notifications even though the underlying trade rows remain stored. Large payloads should be represented by an identifier and fetched separately; the Postgres notification payload limit is about 8 KB.
3. Match rules and insert signals
signal-evaluator listens for live events and evaluates active copy-trade subscriptions. A rule can require source wallets, trade direction, a SOL-equivalent size floor and optional market-cap bounds. It inserts a signal row before delivery so duplicate observations do not create duplicate signals for the same rule and trade identity. The current service also has an arbitrary-wallet source path, so a design that only queries tracked KOL trades would miss supported rules.
Signal evaluation has a freshness gate. A trade that arrives too late can be recorded for research without becoming a copy-trade alert. The evaluator keeps state and health metrics for its event-bus connection, rule matches, suppressed stale trades and delivery outcomes. These counters matter more than a single average latency number.
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.
4. Deliver over a signed webhook or WebSocket
A subscription chooses delivery_mode: "webhook", "websocket" or "both". The earlier article used an array, which the current subscription API does not accept. The webhook path sends a JSON body containing event, data and timestamp. It signs <X-MadeOnSol-Timestamp>.<raw body> with the rule's secret using HMAC-SHA256. A receiver should verify the signature against the raw bytes, check timestamp age and deduplicate retries.
The per-rule webhook sender makes an immediate attempt and can retry after roughly 5 and 30 seconds, with jitter. Each attempt has an 8-second timeout. Redirects and most client errors are treated as permanent; rate limiting, server errors and transient network failures can retry. The WebSocket lane publishes a user-scoped signal through the event bus. When delivery_mode is "both", the two delivery promises are started without waiting for the other lane to finish.
Webhook signing protects authenticity; it does not guarantee that the subscriber will process the event once. Keep your own idempotency key and make a trading decision only after the payload passes your risk and freshness checks.
Recovery is bounded
A lost LISTEN connection does not preserve missed pg_notify messages. On reconnect, the evaluator reads recent stored trades from a bounded lookback, capped by both time and row count. It reports truncation and failures. The copy-trade freshness gate refuses stale replayed candidates; recovering a database row is not the same as delivering a timely trading signal. Monitor these gaps explicitly instead of claiming that no signals can be lost.
Use a durable log or queue if the product requires complete replay or long outage recovery. Postgres notifications remain a practical low-overhead fan-out mechanism for this live path, but the trade-offs depend on workload and recovery requirements. A broker can be appropriate when those requirements change; blanket latency comparisons between brokers and pg_notify are not meaningful without measuring the full pipeline.
Try the API and measure your own handler
Create a copy-trade rule with POST /api/v1/copytrade/subscriptions, choosing the source wallets, filters and delivery mode. A webhook mode requires an HTTPS webhook_url. You can point a test endpoint at webhook.site to inspect sample requests, then move to an endpoint that verifies the HMAC signature before acting. Avoid sending a production secret or sensitive data to a shared testing endpoint.
Read the copy-trade API reference for the current request and webhook schema. The developer portal shows access options, and the API overview describes the wider data surface. Rule quotas and pricing should be checked there rather than copied from an old article.
An effective signal pipeline needs measured boundaries, explicit freshness rules, idempotency and honest gap reporting. “Real-time” describes an architectural goal; only a timestamp at your own receiver shows what your integration experienced.
Tools mentioned
Compare features and read reviews.
Live health scores, average ratings, and direct links on MadeOnSol.

Arweave
Permanent decentralized storage for Solana data and NFT assets

Pinata
IPFS storage and retrieval platform for Solana NFT metadata

CoinFactory
Multi-chain no-code token generator for 20+ blockchains

Torque
On-chain incentive protocol for targeted airdrop and reward campaigns on Solana

Nosana
Decentralized GPU compute marketplace for AI inference on Solana
Get this data via API
Stream real-time KOL trades, PnL rankings, and coordination signals programmatically.
import { MadeOnSol } from "madeonsol";
const client = new MadeOnSol({ apiKey: "msk_your_key" });
// Real-time KOL trades
const { trades } = await client.kol.feed({ limit: 10, action: "buy" });
// KOL convergence signals
const { tokens } = await client.kol.coordination({ min_kols: 3 });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 We Track 2,000+ KOL Wallets in Real-Time: The gRPC Pipeline Behind MadeOnSol
A deep dive into the dual-region Yellowstone gRPC pipeline, pg_notify event bus, and sub-2-second alert delivery that powers MadeOnSol's KOL tracking and deployer intelligence.
Guides
Solana Smart Money Tracker: Find Wallets Worth Following
A walkthrough with live Solana data: judge a wallet's track record, separate realized from unrealized profit, and check a wallet's later sales before you follow its buy.

Reviews
Mizar Review 2026: Multi-Chain Copy Trading and DCA Bots — Including Solana
Mizar bundles copy trading, DCA, and automated take-profit/stop-loss into one pay-per-trade platform across Solana, Ethereum, Base, and BNB Chain. Here's what it costs, what it does well, and why it's not a Solana-exclusive tool.

Comparisons
BonkBot vs Trojan: Which Solana Telegram Bot Should You Use in 2026?
BonkBot and Trojan are both Telegram-native Solana trading bots with a ~1% fee, but they're built for different traders. BonkBot keeps it simple and feeds its fees back into BONK buybacks; Trojan piles on copy trading, DCA, and a cashback rewards layer. Here's how they actually compare.

Developer Tools
Copy-Trade Solana KOL Wallets: Build a Paper-Trading Bot in 5 Minutes
Watch live smart-money trades on Solana and paper-trade them in real time: open a virtual position when a tracked KOL buys, close when they sell, and track PnL from the market-cap multiple. This tutorial walks the open-source kol-copytrade-bot-starter — ~300 lines, one dependency, free API key — and shows how to filter by KOL win rate, deployer tier, and multi-KOL confirmation before risking anything real.

Developer Tools
Solana Memecoin Data API for Builders: Embed Real-Time Intelligence in Your Product (2026)
If you're building a trading terminal, bot, dashboard, or AI agent on Solana, the memecoin-intelligence layer — KOL flow, deployer reputation, coordination signals, a MEV-stripped DEX firehose — is the part that's painful to build in-house. This is the builder's guide to embedding it instead: what the data is, how to access it (REST, WebSocket, webhooks, MCP, SDKs), and when to white-label it under your own brand.
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