The 1inch spot price aggregator is a set of smart contracts that extract price data for tokens traded on DEXes from the blockchain. To avoid price manipulations within a transaction, the spot price aggregator should ONLY be used off-chain. DO NOT use it on-chain. For off-chain usage see Examples section below.
To handle wrapped tokens, such as wETH, cDAI, aDAI etc., the 1inch spot price aggregator uses custom wrapper smart contracts that wrap/unwrap tokens at the current wrapping exchange rate.
If no direct liquidity pair exists between two tokens, the spot price aggregator calculates rates for those coins using another token that has pairs with both of them – a connector token.
Supported DEXes
- Chainlink - 0x31B81f9D03EEe1c11Ff6c44D481e3e0451409Efe
- KyberDMM - 0x1b947aF8b3dd6aa96F8726cd92c894D0Ba6367a3
- Mooniswap - 0xeD55d76Bb48E042a177d1E21AffBe1B72d0c7dB0
- Synthetix - 0x4d4872339DEF367B1BA1D53955d8586B9F0BE63D
- Uniswap - 0x7bdc6954e1c7869B4147A320d589689F628E9921
- Equalizer - 0xeec05e0D8F7D3f56CECE2026Feaf41b09B423790
- ShibaSwap - 0x11BFd590f592457b65Eb85327F5938141f61878a
- SushiSwap - 0xfAf8d8b49D9e121816268CabE24ceF1B9B635908
- UniswapV2 - 0x74bD9e4F8038DA216c3d20E9Ef6a05502Fc7129e
- UniswapV3 - 0x7bBc0156c31A19097eEd6B636AA2F4AB8A31BFD9
- Curve - 0xb57CdEC62Df2AA93AC4C2449Eb50eB4d2f264f3e
- Pancake 3 - 0xA57eE57aa7af7c43265A8376c3d54543Cc78C089
Supported wrappers
Supported connectors
- ETH - 0x0000000000000000000000000000000000000000
- WETH - 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
- USDC - 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
- DAI - 0x6B175474E89094C44Da98b954EedeAC495271d0F
- USDT - 0xdAC17F958D2ee523a2206206994597C13D831ec7
- NONE - 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF
- 1INCH - 0x111111111117dC0aa78b770fA6A738034120C302
- WBTC - 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
Prev oracle versions (legacy)
- May-28-2021 - 0x07D91f5fb9Bf7798734C3f606dB065549F6893bb
- Apr-07-2023 - 0x3E1Fe1Bd5a5560972bFa2D393b9aC18aF279fF56
Supported DEXes
- ApeSwap - 0xE93293A6088d3a8abDDf62e6CA1A085Cec97D06F
- BakerySwap - 0xCC54299Fc291B261B2bF5552E7F0E5d2F8613E8C
- BSCswap - 0x3Ce81621e674Db129033548CbB9FF31AEDCc1BF6
- Demax - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
- KyberDmm - 0xE4E0552452e5cC1306A2bF5B2Fd9b1eA19418795
- Mooniswap - 0xf023D71EfB08339EA28F0C186AE130c74D44C58c
- Pancake 1 - 0x52a8193C7f42b75F27e4ce96f8ddBA7e854453Ef
- Pancake 2 - 0x9488795C688d0AAe98F2056467C13a051C954657
- Pancake 3 - 0x04098C93b15E5Cbb5A49651f20218C85F202Cd27
- Thugswap - 0xFdCB8fA524f84081988e6065Fc8EF060f2CF0C27
Supported wrappers
Supported connectors
- NONE - 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF
- WBNB - 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
- DAI - 0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3
- ETH - 0x2170Ed0880ac9A755fd29B2688956BD959F933F8
- USDC - 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
- BSC-USD - 0x55d398326f99059fF775485246999027B3197955
- BUSD - 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56
- 1INCH - 0x111111111117dC0aa78b770fA6A738034120C302
Prev oracle versions (legacy)
- May-28-2021 - 0xfbD61B037C325b959c0F6A7e69D8f37770C2c550
- Apr-06-2023 - 0x27950ecAeBB4462e18e8041AAF6Ea13cA47Af001
Supported DEXes
- QuickSwap - 0xB89A664FdAf504CDc7826B97Ba6e522d9b78dbE7
- ComethSwap - 0x750c1b699552cAf908D67F5cCFd20A261305328c
- DFYN - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
- SushiSwap - 0x89314d57A8A4E636A00922ac289BC3a9a69C4361
- UniswapV3 - 0xCC54299Fc291B261B2bF5552E7F0E5d2F8613E8C
Supported wrappers
Supported connectors
Prev oracle versions (legacy)
- May-28-2021 - 0x7F069df72b7A39bCE9806e3AfaF579E54D8CF2b9
- Apr-05-2023 - 0xf023D71EfB08339EA28F0C186AE130c74D44C58c
Supported DEXes
- UniswapV3 - 0xFdCB8fA524f84081988e6065Fc8EF060f2CF0C27
- Velodrome Finance - 0x750c1b699552cAf908D67F5cCFd20A261305328c
- Synthetix - 0x89314d57A8A4E636A00922ac289BC3a9a69C4361
Supported wrappers
- // todo: add BaseCoinWrapper
Supported connectors
- NONE - 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF
- WETH - 0x4200000000000000000000000000000000000006
- USDC - 0x7F5c764cBc14f9669B88837ca1490cCa17c31607
- USDT - 0x94b008aA00579c1307B0EF2c499aD98a8ce58e58
- DAI - 0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1
- WBTC - 0x68f180fcCe6836688e9084f035309E29Bf0A2095
- OP - 0x4200000000000000000000000000000000000042
Prev oracle versions (legacy)
- May-28-2021 - 0x11DEE30E710B8d4a8630392781Cc3c0046365d4c
- Apr-06-2023 - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
Supported DEXes
- DXswap - 0x750c1b699552cAf908D67F5cCFd20A261305328c
- SushiSwap - 0xB89A664FdAf504CDc7826B97Ba6e522d9b78dbE7
- UniswapV3 - 0xFdCB8fA524f84081988e6065Fc8EF060f2CF0C27
Supported wrappers
Supported connectors
Prev oracle versions (legacy)
- Sep-14-2021 - 0x735247fb0a604c0adC6cab38ACE16D0DbA31295F
- Apr-03-2023 - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
Supported DEXes
Supported wrappers
Supported connectors
- NONE - 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF
- WAVAX - 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
- WETH.e - 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB
- USDT.e - 0xc7198437980c041c805A1EDcbA50c1Ce5db95118
- WBTC.e - 0x50b7545627a5162F82A992c33b87aDc75187B218
- USDC.e - 0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664
Prev oracle versions (legacy)
- Dec-23-2021 - 0xBd0c7AaF0bF082712EbE919a9dD94b2d978f79A9
- Apr-03-2023 - 0xf023D71EfB08339EA28F0C186AE130c74D44C58c
Supported DEXes
- Honeyswap - 0xCC54299Fc291B261B2bF5552E7F0E5d2F8613E8C
- Levinswap - 0xFdCB8fA524f84081988e6065Fc8EF060f2CF0C27
- Swapr - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
- Sushiswap - 0xf023D71EfB08339EA28F0C186AE130c74D44C58c
Supported wrappers
Supported connectors
- XDAI - 0x0000000000000000000000000000000000000000
- WXDAI - 0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
- NONE - 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF
- WETH - 0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1
- HNY - 0x71850b7E9Ee3f13Ab46d67167341E4bDc905Eef9
- USDC - 0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83
- USDT - 0x4ECaBa5870353805a9F068101A40E0f32ed605C6
Prev oracle versions (legacy)
- Dec-23-2021 - 0x142DB045195CEcaBe415161e1dF1CF0337A4d02E
- Apr-06-2023 - 0x3Ce81621e674Db129033548CbB9FF31AEDCc1BF6
Supported DEXes
- Solidex - 0x750c1b699552cAf908D67F5cCFd20A261305328c
- SpiritSwap - 0x89314d57A8A4E636A00922ac289BC3a9a69C4361
- Spooky - 0xB89A664FdAf504CDc7826B97Ba6e522d9b78dbE7
- SushiSwap - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
Supported wrappers
Supported connectors
Prev oracle versions (legacy)
- Mar-21-2022 - 0xE8E598A1041b6fDB13999D275a202847D9b654ca
- Apr-04-2023 - 0xFdCB8fA524f84081988e6065Fc8EF060f2CF0C27
Supported DEXes
- Trisolaris - 0x587D67870CF6e733F2Ac101eD83675d6C01Ae127
- WannaSwap - 0x7d809B3b23b62D8a455831f38b312C7c8F965D2e
- NearPAD - 0x74bD9e4F8038DA216c3d20E9Ef6a05502Fc7129e
- AuroraSwap - 0xfAf8d8b49D9e121816268CabE24ceF1B9B635908
- Dodo - 0xeec05e0D8F7D3f56CECE2026Feaf41b09B423790
- DodoV2 - 0x11BFd590f592457b65Eb85327F5938141f61878a
Supported wrappers
Supported connectors
Prev oracle versions (legacy)
- May-26-2022 - 0xE4E0552452e5cC1306A2bF5B2Fd9b1eA19418795
- Mar-31-2023 - 0xeD55d76Bb48E042a177d1E21AffBe1B72d0c7dB0
Supported DEXes
- KlaySwap - 0x750c1b699552cAf908D67F5cCFd20A261305328c
- ClaimSwap - 0xB89A664FdAf504CDc7826B97Ba6e522d9b78dbE7
Supported wrappers
Supported connectors
Prev oracle versions (legacy)
- Aug-02-2022 - 0x138CE40d675F9a23E4D6127A8600308Cf7A93381
- Apr-06-2023 - 0x89314d57A8A4E636A00922ac289BC3a9a69C4361
Supported DEXes
- MuteSwitch - 0x535f5B303DA43c5B83FDe10DE3D79b734B5117C3
- Syncswap - 0xdD8263F21D4DDB533C5F3B2059493b431cAEAB8d
Supported wrappers
Supported connectors
Prev oracle versions (legacy)
- Mar-28-2023 - 0x1ec0a5F6dc07E93491426d5aAAc3E2BC505Ef41C
- Jun-05-2023 - 0xEE053a8333B7F804bE050B3D73289C6dbbEB2BFd
Supported DEXes
- BaseSwap - 0x750c1b699552cAf908D67F5cCFd20A261305328c
- RocketSwap - 0x89314d57A8A4E636A00922ac289BC3a9a69C4361
- SwapBased - 0x59Bc892E1832aE86C268fC21a91fE940830a52b0
- DackieSwap - 0x74bD9e4F8038DA216c3d20E9Ef6a05502Fc7129e
- HorizonDex - 0xd8C7661C2bA6E9732613C15780f9fBBD55d8bf9c
- SushiSwapV3 - 0x11BFd590f592457b65Eb85327F5938141f61878a
- UniswapV3 - 0xD4eFb5998DFBDFB791182fb610D0061136E9DB50