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.
POST
Body
application/json
The chain to use.
Available options:
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
The symbol of the token to swap from Note the supported tokens per chain.
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 symbol of the token to swap to Note the supported tokens per chain.
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 fee to pay for the swap
Available options:
0.01
, 0.05
, 0.3
, 1.0
The amount of the token to swap from
Required range:
x > 0
Example:
1.5
Was this page helpful?