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.
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 hardvalidUntil. 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.