Uniswap V3
Get quote - from specified amount
This endpoint calculates the amount of input tokens required to purchase a specified amount of output tokens from a Uniswap pool.
It also provides the resulting price after the transaction. The calculation takes into account the current pool state and the specified fee tier.
GET
Query Parameters
The chain to use.
Available options:
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
A class representing the token.
This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
Available options:
1INCH
, AAVE
, BAL
, cbBTC
, cbETH
, CRV
, crvUSD
, DAI
, ENS
, ETHx
, FRAX
, FXS
, GHO
, KNC
, LDO
, LINK
, LUSD
, MKR
, osETH
, PYUSD
, rETH
, RPL
, rsETH
, sDAI
, SNX
, STG
, sUSDe
, tBTC
, UNI
, USDC
, USDe
, USDS
, USDT
, WBTC
, weETH
, WETH
, wstETH
, ARB
, EURS
, MAI
, USDCe
, AERO
, EUR
, VIRTUAL
A class representing the token.
This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
Available options:
1INCH
, AAVE
, BAL
, cbBTC
, cbETH
, CRV
, crvUSD
, DAI
, ENS
, ETHx
, FRAX
, FXS
, GHO
, KNC
, LDO
, LINK
, LUSD
, MKR
, osETH
, PYUSD
, rETH
, RPL
, rsETH
, sDAI
, SNX
, STG
, sUSDe
, tBTC
, UNI
, USDC
, USDe
, USDS
, USDT
, WBTC
, weETH
, WETH
, wstETH
, ARB
, EURS
, MAI
, USDCe
, AERO
, EUR
, VIRTUAL
The transaction fee of a Uniswap pool in bips.
Uniswap supports 4 different fee levels.
Available options:
0.01
, 0.05
, 0.3
, 1.0
Required range:
x > 0