Catch stock-pair meme launches: quote/base ID + eth_subscribe
When quote or base is a stock token, a meme lands with a stock-pair tag—hear that pair first on the tape. This post teaches: keep a stock-token address table, hang BlockReq public WSS on Robinhood Chain (EVM), filter PairCreated, and push new stock-pair opens as alerts.
Run on the public endpoint · blockreq.com register for 3M free requests monthly.
| Use | Endpoint |
|---|---|
| Public HTTPS | https://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public |
| Public WSS | wss://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public |
| Private | Trailing public → {API_KEY} (keys stay local) |
Chain: EVM chainId = 0x1237 (4663). Public endpoints · eth_subscribe · Plans · Register.
1. Hook: stock token as quote—catch the meme open
| Tape feel | On-chain signal | Watch |
|---|---|---|
| Stock as quote / base | token0 or token1 ∈ stock address table | Which side hit |
| Meme pair lands | Factory PairCreated | pair / memeSide / stockSide |
| Open cluster | PairCreated + first-block trade / first Mint cluster | volume + first block |
| Hear before the crowd | Hit → push card | Dedupe key = txHash / pair |
Stock-pair meme = stock token as quote or base + new launch on the other side. ID lives in your local table; subscribe stays on narrow logs.
2. Two scenes: RH (PONS / LONG class) vs Solana Pumpfun Custom Pairs
| Scene | Context | Runnable path here |
|---|---|---|
| Robinhood Chain | PONS / LONG-class pads where stock tokens sit as quote/base | BlockReq public WSS + eth_subscribe (demo below) |
| Solana · Pumpfun Custom Pairs | Same tape narrative—custom pairs with a stock side; quote/base ID transfers as context | Market-context contrast; runnable listen converges on EVM/RH |
Both scenes share one ID move: maintain a stock-token table, then filter pair events. The browser-runnable demo uses the RH public endpoint.
Related: Stock-pairs launch · Anoncoin launch listen · PONS one-pad listen.
3. Identify: stock-token table → logs / eth_subscribe filter (EVM demo)
Keep a local JSON stock-token table (lowercase, deduped)—AAPL / TSLA / NVDA / LONG-class contracts. On each Factory push, table-lookup token0 / token1; either side hits → tag stock-pair.
Step A · Subscribe Factory PairCreated
{
"jsonrpc": "2.0", "id": 1, "method": "eth_subscribe",
"params": ["logs", {
"address": "0xYourFactoryOrPonsPad",
"topics": ["0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9"]
}]
}
topics[0]: Uniswap V2-stylePairCreated(confirm against Factory ABI; PONS / LONG-class may swap an equivalent open topic).- Decode
token0/token1/pair→ table lookup →stockSide/memeSide.
Step B · Address-table latch (demo)
| Field | Rule |
|---|---|
stockHit | token0 or token1 ∈ stock table |
stockSide | Hit-side address + symbolHint |
memeSide | Other side (new launch) |
role | Hit side as quote or base (label by pool convention / path) |
Step C · First-block volume / first Mint cluster (optional stack)
After a PairCreated hit, feed pair into a second narrow subscription (Swap / Mint). First in-window trade or add-liq cluster → stack first block / volume, then push the alert card.
4. Browser demo: BlockReq public endpoint + register for 3M free requests monthly
In the browser, connect RH public WSS, paste the stock table + Factory, hit Start, and stream stock-pair open cards. Live demos1 (already shipped):
:::pages-demo https://blockreq.com/demos1/stock-pair-meme-launch-listen/en/ title: Stock-pair meme launch listen height: 520 :::
Path hint: /demos1/stock-pair-meme-launch-listen/zh/ · /demos1/stock-pair-meme-launch-listen/en/. For keyed: swap trailing public for {API_KEY}.
Quota to start: blockreq.com register for 3M free requests monthly (public endpoint connects as-is).
5. Alert: new stock-pair → notify (volume / first block)
- PairCreated arrives → decode token0/1/pair; run stock-table hit check.
- Stock-pair hit → draft card
{ pair, stockSide, memeSide, role, factoryTx, blockNumber, ts }. - Volume / first block → first in-window Swap or Mint cluster →
firstBlock/earlyVolume. - Outbound → webhook / board:
stock-pair open · stock=… · meme=… · pair=… · blk=…. - Dedupe → one push per
txHash/pair.
On disconnect: reconnect and re-subscribe; gap-fill with HTTPS eth_getLogs in block segments, replay the same table rules. POST → https://robinhood-mainnet-rpc.blockreq.com/v1/rpc/public.
6. CTA
- ID: stock-token table → quote/base hit → stock-pair tag.
- Recipe: Factory narrow logs + table lookup + volume/first-block stack → alert card.
- Runnable: Robinhood Chain public WSS
eth_subscribe; demos1 is live on public WSS. - Start: Public endpoints + blockreq.com register for 3M free requests monthly.
Next: pin the stock table as JSON → wire cards to webhooks → open the live demos1 page. Docs · Pricing · Register.