joshstevens19 / simple-uniswap-sdk

Uniswap SDK which handles the routes automatically for you, changes in trade quotes reactive subscriptions, exposure to formatted easy to understand information, bringing back the best trade quotes automatically, generating transactions for you and much more.
MIT License
188 stars 95 forks source link

Prices vary slightly #43

Open DerekYeung opened 2 years ago

DerekYeung commented 2 years ago

The price I get through the sdk call is slightly different from the price on uniswap. For example, the current 1000USDT can be exchanged for 279.157 SUSHI, but the quote in the SDK is 273.387. I want to know where this difference comes from, thanks