The quoter contract provides price estimates using onchain data. Additional APIs will be exposed for accessing offchain prices, when available.
function quote(
IClearingHouse.OpenPositionParams calldata params
)
returns (
int256, // Amount of base token
int256 // Amount of quote token
)