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. 瀏覽器裡跑

瀏覽器實作 → demos1(繁中)

主舞台是 TokenLaunched 股票報價對開盤雷達卡;RPC 表摺疊。註冊可得每月免費 3M 請求 → blockreq.com

4. 收束

Stonks Exchange 開盤 = StonkLauncher2 TokenLaunched + quote / pool / launchTick 同窗。公共 WSS 開跑,開盤卡先出,節點收著放。demos1 PR:blockreq/blog-demos#53