market.prices(). This is the live mid for this slot, scaled from 1e18. null if the slot has no price.
quoteTrade.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Live named-outcome mid from OutcomeAmm.prices().
market.prices(). This is the live mid for this slot, scaled from 1e18. null if the slot has no price.
const pool = client.pool(outcomeToken, { market: marketAddress, outcomeIndex: 0 })
const mid = await pool.spotPrice()
number | null
quoteTrade.