BlockReq
返回全部文章

Rpc Tutorials

Stonks Exchange 开盘监听:TokenLaunched 盯股票报价对

Stonks Exchange / thestonks.exchange · StonkLauncher2:公共 WSS eth_subscribe 盯 TokenLaunched(token / tokenId / creator / quote / pool / fee / launchTick)。注册可得每月免费 3M 请求。

BlockReq Engineering2026年9月16日5 分钟阅读

Stonks Exchange 开盘监听:TokenLaunched 盯股票报价对

Stonks Exchange 把 Basecat 加进报价名单——thestonks.exchange 上 StonkLauncher2 一发 → TokenLaunched → 新币 + quote + pool + launchTick 同窗出卡。Base 新池抢跑 盯 PairCreated / Swap 量爆;OpenLaunch 一笔开盘 盯 v4 Initialize;BaseStonk AdvancedLauncher0x74655F443D25c5d401a582c68dEA02ACd170E12f)另文专盯 AdvancedLaunched。本篇专盯 Stonks Exchange StonkLauncher2 factory 0x4714f6EC81639Ca59EEBE634490a4d8671DCe7B4TokenLaunched 股票报价对开盘雷达。

公共节点开跑 · blockreq.com 注册可得每月免费 3M 请求

用途Endpoint
Public HTTPShttps://base-rpc.blockreq.com/v1/rpc/public
Public WSSwss://base-rpc.blockreq.com/v1/rpc/public
Private尾段 public{API_KEY}(密钥留本地)

链:Base EVM chainId = 0x2105(8453)。Public endpoints · eth_subscribe · Plans · Register

1. 钩子:股票报价对开盘

盘口感觉链上信号盯什么
抢开盘factory TokenLaunchedtoken · tokenId · creator · quote · pool · fee · launchTick
报价侧quote(含 Basecat 入名单)股票报价对主舞台高亮
元数据 / DevBuyTokenMetaSet / DevBuy(可选)次级 chip 叠同 token
雷达条hit → 出站去重 = token + launchTx
合约地址(可改预填)角色
StonkLauncher2(proxy)0x4714f6EC81639Ca59EEBE634490a4d8671DCe7B4主听 TokenLaunched
Implementation0x6a9f14e7742e8972fcf86429c5aa7db56589806dERC1967 实现
StonkQuoteRegistry20x4db9F13325A83662cf992184bc070755a212e95B报价登记(Basecat 入名单钩子)
Fee locker0x71D1D363176723f85d98B8B430DF33cde89f0A7f手续费锁仓

样例发射 tx:0x72d2abe9fef721127c6c5301ee2b8f93d70c3738c9d30f0a5ff60e84955e910a(TokenLaunched + TokenMetaSet)· 0x0f6c917e0c3f7bd2be07d5d1e431691f75177f43287be8b5a87523f5ae67b36d。产品页:thestonks.exchange/about

2. 事件:TokenLaunched

本地 JSON 预填 FACTORY + TOKEN_LAUNCHED_TOPIC0。一条 Base 公共 WSS:盯 StonkLauncher2 TokenLaunched;卡片上叠 quote / pool / launchTick。可选次级 chip:TokenMetaSet · DevBuy

Step A · Subscribe factory TokenLaunched

{
  "jsonrpc": "2.0", "id": 1, "method": "eth_subscribe",
  "params": ["logs", {
    "address": "0x4714f6EC81639Ca59EEBE634490a4d8671DCe7B4",
    "topics": ["0x61f1eebe27442a95a99d94de30c81be127888456287e5bd9fbb5a6105e1aaad3"]
  }]
}
  • topics[0]: TokenLaunched(address indexed token, uint256 indexed tokenId, address indexed creator, address quote, address pool, uint24 fee, int24 launchTick, uint256 totalSupply, address feeLocker)
  • topics[1] = token · topics[2] = tokenId · topics[3] = creator
  • data: quote · pool · fee · launchTick · totalSupply · feeLocker
  • 写入 launchState[token],标签 stonks-exchange
字段规则
padstonks-exchange
token / tokenId / creatorTokenLaunched topics
quote / pool / fee / launchTickdecoded data
totalSupply / feeLockerdecoded data
readyTokenLaunched 已见

Step B · 可选 TokenMetaSet / DevBuy

  • TokenMetaSet topic0 0xe955341eaabea23fe2bbd1074b7cce8c1b283cfb10fa0ae061f932c977ddbcd7 — 叠同 token 开盘卡作元数据 chip
  • DevBuy topic0 0x84d429ed8af1c9cfe8bb07b556e4120e976c9f4c9232a7f50a15d31d83e232a9 — 开盘同窗 DevBuy 次级 chip

Step C · 开卡字段

出站卡优先:token · tokenId · creator · quote · pool · fee · launchTick · totalSupply · feeLocker · launchTx · blockNumber · ts。RPC / endpoint 收进折叠次栏。

3. 浏览器里跑

主舞台是 TokenLaunched 股票报价对开盘雷达卡;RPC 表折叠。注册可得每月免费 3M 请求 → blockreq.com

4. 收束

Stonks Exchange 开盘 = StonkLauncher2 TokenLaunched + quote / pool / launchTick 同窗。公共 WSS 开跑,开盘卡先出,节点收着放。demos1 PR:blockreq/blog-demos#53