0

I want to get the output amount of a Swap on PancakeSwap ( https://pancakeswap.finance/swap ) automatically.

For example:

Fist token = BNB
Second token = CAKE

When I fill out the BNB amount in the first field, in the second one I get the CAKE amount. I want to get that value from the response.

enter image description here

I found the response (at least I think) but it is encrypted somehow.

enter image description here

I'm not sure if that's the correct request. I also tried to check the WebSockets because it's updated in real-time. Without success. If someone has an idea about how to get it, please let me know.

starball
  • 20,030
  • 7
  • 43
  • 238
GPaul
  • 35
  • 6

0 Answers0