client.pool(outcomeToken, collateralToken?) — the VoizPool class is not a root export.
Use quoteTrade for trade quotes (not market.prices).
State
PreferquoteTrade.priceAfter / priceAboveNinetyNineCents for trade gates. Mid/reserve helpers are package-internal.
state
Live pool status,slot0, and liquidity.
PoolStatus / PoolState
priceFromState
Mid price from an already-fetchedPoolState (no RPC). null when status is not "open".
quoteTrade
Exact-in quote matchingswap sides: buy = collateral → outcome; sell = the reverse. May return a capped size when the request exceeds prediction-range liquidity (withinRange: false).
QuoteTradeResult
requestedAmountIn— size you asked foramountIn— size thisamountOutapplies to (may be capped)amountOut— expected out foramountInwithinRange— whether the full request quoted successfullymaxAmountIn— largest size that still quotesmessage?/error?: "EXCEEDS_RANGE"— when cappedspotPrice?/priceAfter?— mid before / estimated afterpriceAboveNinetyNineCents?— current spot already above 0.99
swap
Exact-in swap via the Seer V4 helper and the client sender.sendCalls / wallet path).
Advanced
pool.key exists for low-level callers (type not root-exported). LP burn and swap use outcome/collateral tokens — you do not pass a PoolKey.