Skip to main content
You want the live mid for Yes on the ETH market, read from the chain. The card of all answers is market.prices(). This call is one slot, scaled from 1e18, or null if that slot has no price. Invalid is not tradable.
Never size a swap from a display mid. Use quoteTrade.

Next

Quote a trade