Skip to content
docs

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.

Readonly<Record<string, number>>

ValueParams

readonly ValueQuote[]

QuoteValueOptions = {}

QuoteValue[]