of any pending transaction?
Ethers js and web3 have a functionality to do a pseudo transaction offchain using onchain data to see the results of a transfer for a given input which you can use to calculate that. Easier way is to use getAmountsOut
Thanks so much
Обсуждают сегодня