Room ID:
Endpoint:
locks Endpoint:
wss://staging-api.struct.to/wstargets. Each target names a chain plus exactly one of token_address or pool_id:
Per connection you can follow 50 targets; extras come back in
rejected. An event that matches several targets arrives once.
Only new events are streamed: they are delivered as they happen on-chain, and past events are not replayed when you subscribe.
Subscribe
Every action is answered withlock_stream_subscribe_response: your full normalized targets (both chain and chain_id, EVM addresses lowercased), events and rejected entries with a reason.
Filters
Example
Response
Events
Each lock event arrives aslock_event. data is the event plus lock, the lock’s state right after the event, when available. Keys follow the connection’s field mode (long shown; WebSocket defaults to short). See long and short field names.
Liquidity locks have the same shape with pool_id set and position.type set to lp_token, position_nft or direct_position (with venue, e.g. v2, v3, v4).
Event fields
locker
position
lock
Delivery
- Events are delivered as they happen on-chain. Past events are not replayed on subscribe.
- An event that matches several of your targets is delivered once per connection.
- Time-based
unlockedevents have no transaction, so they carry nohash;confirmed_atis the unlock time.