quoteValues
quoteValues(
prices,params,quotes,options?):QuoteValue[]
Defined in: protocol-swap2-router/src/value.ts:100
USD in / out / loss for every quote of one request, and the better alternative inside the set. Prices are the caller’s current spot prices (symbol → USD). The owner’s rule (2026-10-16): the wallet shows this and says “be careful”; it never blocks — the Oct 16 funded run lost ~$33 on two Uniswap legs that nothing compared to the other venues’ quotes.
Parameters
Section titled “Parameters”prices
Section titled “prices”Readonly<Record<string, number>>
params
Section titled “params”quotes
Section titled “quotes”readonly ValueQuote[]
options?
Section titled “options?”QuoteValueOptions = {}