Skip to main content

Stream Families

Two topic families cover TetraFi’s liquidity, both carried on the same WebSocket connection: Corridor topics name assets by chain and address, so a subscription prices exactly the route you’d trade - including cross-chain corridors where the two legs live on different networks. OTC topics use venue symbols for desk-quoted markets. The tier suffix works identically: subscribe at the notional you intend to trade, because a 1m clip does not price like a 10k clip.
Match your stream to your execution. Estimate with the same corridor and tier you’ll request firm quotes for - a 10k-tier estimate tells you little about a seven-figure fill.

Snapshot Payload

Every event on a price topic carries a complete snapshot - never a delta. The essentials: Amounts in levels are raw token units as strings; ladder prices and sizes are decimal-normalized numbers - the same numbers the protobuf depth stream carries, produced by the same aggregation pass.

Quote Expiry

Streamed prices are indicative and continuously refreshed; firm quotes carry a hard validUntil. When you move from estimate to execution, the validity window you request (via minValidUntil on the intent) shapes the pricing you receive: Shorter windows price tighter because the LP holds risk for less time - but your sign-and-submit hop must complete inside the window, or the order refunds through the escrow.
Keep your estimation horizon and your firm-quote horizon aligned. Estimating from long-horizon streamed prices while requesting tight-window firm quotes (or vice versa) will systematically skew your pre-trade numbers. See Short Expiry for the execution-side view.