Function subscribeToSoroswapRouter

The Soroswap Router contract emits events when a swap is executed. Use this function to subscribe to those events.

  • Returns Promise<boolean>

    A promise that resolves to true if the subscription was successful.