定義
CLOB token ID
CLOB 代幣識別符,用以識別 CLOB 中的特定結果代幣。
CLOB token id
Definition
A CLOB token id is the identifier of a specific outcome token in the CLOB. On Polymarket each outcome (binary YES/NO or one of many multi-outcome legs) is represented in the CLOB by an instrument with a unique CLOB token id you can use to request market data or subscribe to real-time updates.
In context
You encounter CLOB token ids when working with real-time market feeds or the CLOB REST surface. For example, the Market WebSocket (wss://ws-subscriptions-clob.polymarket.com/ws/market) accepts subscriptions that specify instruments by their CLOB token id. Each subscription returns per-outcome streams such as order-book snapshots, best_bid_ask, last_trade_price, price_change, and tick_size_change for that particular outcome. The same id appears in CLOB API responses and is the canonical key for mapping UI elements to on-chain outcome tokens.
Practical notes
- Use the exact CLOB token id string returned by the CLOB API when subscribing; mismatched ids will not return data.
- A single market with multiple outcomes has one CLOB token id per outcome; multi-outcome markets therefore require subscribing to multiple token ids to reconstruct the full market state.
- WebSocket connections have limits (max 500 instruments per connection); plan subscriptions around those limits.
See also
- /glossary/clob-api
- /glossary/market-channel