Skip to main content
Room ID: locks
Endpoint: wss://staging-api.struct.to/ws
Live lock events for tokens and pools: locks created, extended, transferred, split, withdrawn, claimed and unlocked, across chains on one connection. Covers token supply locks and liquidity locks (LP tokens, position NFTs and launchpad custody). Subscribe with targets. 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 with lock_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 as lock_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 unlocked events have no transaction, so they carry no hash; confirmed_at is the unlock time.
Last modified on October 16, 2026