BlockReq
Back to all articles

Rpc Tutorials

Pump Custom Pair open tool: quote whitelist

Fill SOLANA_HTTPS / SOLANA_WSS when the node is ready and run: filter Pumpfun Custom Pair Create/CustomPair by quote-mint whitelist (xStocks etc.), optional PumpSwap graduation stack. Register for 3M free requests monthly.

BlockReq EngineeringSeptember 11, 20265 min read

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.

UseEndpoint (placeholder)
HTTPSprocess.env.SOLANA_HTTPS (fill when the node is ready)
WSSprocess.env.SOLANA_WSS (fill when the node is ready)
PrivateTrailing 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 feelOn-chain signalWatch
Quote-whitelist openCreate / CustomPair with quote mint ∈ tablebaseMint / quoteMint
xStocks / majors legquote = NVDA* / TSLA* / BTC* …whitelist tag + mint
Sniper hear-firstquote hit → outboundDedupe = signature / mint
Endpoint swapenv swap → keep listeningfill 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") pulls baseMint / 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

  1. Create / CustomPair arrives → parse baseMint / quoteMint.
  2. Whitelist hit → outbound Pump Custom Pair · base=… · quote=… · tag=… · slot=….
  3. Optional → PumpSwap graduation as a second chip.
  4. 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

  1. Grain: Custom Pair open = Create/CustomPair + quote mint ∈ whitelist.
  2. Recipe: SOLANA_WSS + PUMP_PROGRAM + QUOTE_WHITELIST + optional PumpSwap graduation → open card.
  3. Runnable: browser pre-wired with placeholders + sample rows; once the node is ready, fill the endpoint into env and run.
  4. 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.