• Gets exact input quote from Uniswap.

    Parameters

    • networkId: string

      Network ID, either base-sepolia or base-mainnet

    • tokenIn: string

      Token address to swap from

    • tokenOut: string

      Token address to swap to

    • amountIn: string

      Amount of tokens to swap (in Wei)

    • fee: string

      Fee for the swap

    Returns Promise<number>

    Amount of tokens to receive (in Wei)