Guys, i want to use getAmountsOut function of pancakeswap,
My path is BNB => Some bep20 token,
What should i pass as address for bnb ?
When i pass wbnb address it gives me error as, liquidity has been added only for bnb and that bep20 token pair.
Apr 28, 2022, 7:34 PM
But, the getamountsout and what pcs is showing in ui, is very different
I am trying to find price of the token
getAmountsOut != Price
I understand slippage is involved. But even then the difference is huge
😢
Apr 28, 2022, 8:11 PM