
Uniswap QuoterV2 (Arbitrum)
0x61fF...B21euniswapDeFi
Contract Level Prompt
Foundational semantic layer for AI interpretation.
This contract can be used to get a swap quote for the Uniswap protocol on the Arbitrum network.
quoteExactOutputSingle()
nonpayableFunctional Prompt
Get a quote for an exact output swap on a single pool. This function should only be used with the `simulate` endpoint on 1Shot API.
Input Parameters
input
paramstuple
Input of type tuple
Output Parameters
output
amountInuint256
The amount of `tokenIn` that will be required.
output
sqrtPriceX96Afteruint160
The of the pool after the swap.
output
initializedTicksCrosseduint32
The number of ticks that will be crossed by the swap.
output
gasEstimateuint256
How much gas the swap will consume.