Pump Custom Pair open tool: quote whitelist
Pumpfun Custom Pairs widen the quote leg to tokenized stocks / majors / metals: creators pick an xStocks, Sunrise, or similar quote mint at create time, with bonding-curve and PumpSwap fees matching standard opens. This post pre-wires the Create / CustomPair + quote-mint whitelist recipe—browser keeps SOLANA_HTTPS / SOLANA_WSS placeholders; once the node is ready, fill the endpoint into env and run.
Run on the public endpoint · blockreq.com register for 3M free requests monthly.
| Use | Endpoint (placeholder) |
|---|---|
| HTTPS | process.env.SOLANA_HTTPS (fill when the node is ready) |
| WSS | process.env.SOLANA_WSS (fill when the node is ready) |
| Private | Trailing public → {API_KEY} (keys stay local) |
Chain: Solana. Recipe: logsSubscribe (mentions Pump program) → decode Create/CustomPair → quote mint ∈ whitelist → open card. Browser demo ships UI + sample rows first; swap the real endpoint when ready and keep listening. Public endpoints · Plans · Register.
Stack separately from RH stock-pair launches: this line is Solana Pump Create/CustomPair + quote-mint whitelist; the RH line is EVM Factory PairCreated (see stock-pair meme · RH any-quote).
1. Hook: hear Custom Pair opens by quote
| Tape feel | On-chain signal | Watch |
|---|---|---|
| Quote-whitelist open | Create / CustomPair with quote mint ∈ table | baseMint / quoteMint |
| xStocks / majors leg | quote = NVDA* / TSLA* / BTC* … | whitelist tag + mint |
| Sniper hear-first | quote hit → outbound | Dedupe = signature / mint |
| Endpoint swap | env swap → keep listening | fill SOLANA_WSS and run |
Feel: standard Pump open = Create; Custom Pair adds a quote-mint gate—only whitelist quote legs become cards.
2. Event: logsSubscribe + quote whitelist
Keep SOLANA_HTTPS / SOLANA_WSS / PUMP_PROGRAM / QUOTE_WHITELIST in env. When the node is ready, change the endpoint only—the subscribe body and filter stay the same.
Step A · Subscribe Pump program logs
{
"jsonrpc": "2.0", "id": 1, "method": "logsSubscribe",
"params": [
{ "mentions": ["PUMP_PROGRAM"] },
{ "commitment": "confirmed" }
]
}
mentions[0]=process.env.PUMP_PROGRAM(official program-id table).- Client-scan logs for Create / CustomPair / equivalent create instruction names.
- HTTPS
getTransaction(encoding: "jsonParsed") pullsbaseMint/quoteMint/ bonding curve.
Step B · Quote-mint whitelist filter
QUOTE_WHITELIST = editable mint set (xStocks / Sunrise / majors …)
hit = quoteMint ∈ QUOTE_WHITELIST → write launchState
Open-card fields:
{ pad: "pump-custom-pair", baseMint, quoteMint, quoteTag, signature, slot, ts }
Dedupe on signature / baseMint; merge repeat pushes for the same mint inside a short window.
Step C · Optional stack: PumpSwap graduation
After Create, scan the same program / PumpSwap path for migrate / graduate logs; graduation signature → stack graduated / pumpSwapPool chip.
3. Browser demo
Connect the SOLANA_WSS placeholder, fill Pump program + QUOTE_WHITELIST, hit Start: UI streams sample open rows first; once the node is ready, swap the real endpoint and the same filter keeps listening.
:::pages-demo https://blockreq.com/demos1/pumpfun-custom-pairs-listen/en/ title: Pump Custom Pair quote whitelist height: 520 :::
env → SOLANA_HTTPS · SOLANA_WSS · PUMP_PROGRAM · QUOTE_WHITELIST
WSS → process.env.SOLANA_WSS
HTTPS→ process.env.SOLANA_HTTPS
Paths: /demos1/pumpfun-custom-pairs-listen/zh/ · /demos1/pumpfun-custom-pairs-listen/en/. For keyed: swap trailing public for {API_KEY}.
Quota: blockreq.com register for 3M free requests monthly.
4. Alert rhythm
- Create / CustomPair arrives → parse baseMint / quoteMint.
- Whitelist hit → outbound
Pump Custom Pair · base=… · quote=… · tag=… · slot=…. - Optional → PumpSwap graduation as a second chip.
- Dedupe → one push per
signature/baseMint.
On disconnect: reconnect and re-logsSubscribe; gap-fill with HTTPS getSignaturesForAddress + getTransaction on the same program. POST → process.env.SOLANA_HTTPS.
5. Summary + CTA
- Grain: Custom Pair open = Create/CustomPair + quote mint ∈ whitelist.
- Recipe:
SOLANA_WSS+PUMP_PROGRAM+QUOTE_WHITELIST+ optional PumpSwap graduation → open card. - Runnable: browser pre-wired with placeholders + sample rows; once the node is ready, fill the endpoint into env and run.
- Start: Public endpoints + blockreq.com register for 3M free requests monthly.
Next: pin the xStocks quote table → webhook → stack beside RH any-quote / stock-pair lines. Docs · Pricing · Register.