Function subscribeToSoroswapPair

Soroswap Pair contracts emit events for operations such as adding or removing liquidity, swapping, or skimming. Use this function to subscribe to those events.

  • Parameters

    • pairContract: string

      The contract ID of the Soroswap Pair contract.

    Returns Promise<boolean>

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