Room ID:
Endpoint:
holders Endpoint:
wss://staging-api.struct.to/wsreset=true replaces your list; otherwise apply upserts by wallet and drop removed_wallets.
With pool_id, only that pool’s trades update the list. Rows carry pnl only when include_pnl is true, and it is always the PnL for the selected timeframe; PnL values may update separately from trade events. token_balance_usd is revalued at the token’s latest traded USD price. Values that are not known yet (a new holder’s native balance, a USD value with no price) are omitted rather than sent as 0.
Migrations
Apool_id subscription follows migrations. When the pool migrates (for example a bonding curve graduating to an AMM pool), the list moves to the destination pool for the same token and options automatically; later updates carry the new pool_id. This room sends no migration event: watch the address room (an address_update for the destination pool with migrated_from_pool_id, dirty kind pool) to be notified. Your list is kept: the next update arrives as a normal delta, or as the destination list’s snapshot (reset=true) when one already existed. A pool that had already migrated when you subscribe is followed immediately: the subscribe response’s pool_id is the destination and migrations lists each hop. Subscriptions without pool_id are unaffected.
Subscribe
Requirestoken_address and an explicit chain selector.
Filters
Provide either
chain or chain_id. Do not send both.
Example
Events
Everysubscribe is answered with holders_subscribe_response (keys are always long). Here the subscribed pool had already migrated:
seq.