Skip to main content

TypeScript shape

interface TradeSubscriptionInput {
  items: TradeItemInput[];
  assetMode?: boolean | null;
  traderMode?: boolean | null;
  maxUpdatesPerMinute?: number | null;
}
items
[TradeItemInput!]!
required
Items to subscribe to. See TradeItemInput.
assetMode
Boolean
When true, each item address is treated as a token contract address or Solana token mint.
traderMode
Boolean
When true, each item address is treated as a wallet address.
maxUpdatesPerMinute
Int
Optional per-item throttle for high-volume streams.
assetMode and traderMode cannot both be true.