I'm quite a rookie in using the uniswap API.
What I have is the following. Let's say I want to know how much WETH I need to 100 dydx tokens
amountOut = BigInt(100).toString()
let result = await _routerPath[0].getAmountsIn(amountOut, [_token0.address, _token1.address])
What I get as a result is 1 for WETH.
However, when I use the Uniswap UI I get 0.15225.
Why is this happening?