getSwapAmountsOut
Swap ์ ๋ฐ์ ์ ์๋ ๊ฐ์๋ฅผ ์ป์ ๋ ์ฌ์ฉ (FROM->TO)
Parameters
Type
Value
Description
uint
_amountIn
swap ์ ๋ฐ๊ฟ ํ ํฐ ๊ฐ์
address[]
_path
ํ ํฐ ๊ฐ์๋ฅผ ํ์ธ ํ ํ ํฐ ์ ์ฃผ์
Return Values
Type
Value
Description
uint[]
amounts
swap ์ In/Out ํ ํฐ ๊ฐ์
โปReserves๋ฅผ ํตํ ์ฐ์ฐ ๋ฐฉ๋ฒ
Example
2023.01.02
Last updated