Skip to main content

Interface: QuoteResult

Quote response returned by /v2/trade/quote.

Properties​

PropertyTypeDescription
amountInstring-
amountOutstring-
contractVersion"v2"-
currentPriceBigNumberPool price before the trade, token out per token in (always set by Quoting).
currentSqrtPrice?string-
feenumber-
feeTiernumber-
feeTokenSymbolstring-
newPriceBigNumberPool price after the trade, in the same orientation (always set by Quoting).
newSqrtPrice?string-
newTicknumber-
priceImpactBigNumber(newPrice - currentPrice) / currentPrice as a fraction (-0.01 is 1% adverse), always set by Quoting.
protocolFeesstring-
token0Symbolstring-
token1Symbolstring-
tokenInIsToken0boolean-
totalFeesstring-
tradingFeesstring-