6

I want to approve token spending on Uniswap for a token I don't own. Uniswap UI won't let me do that (instead it displays a gray out button "insufficient balance").

Seems the only option would be to manually approve the token using Etherscan.

Which Uniswap contract should I interact with? (v2) What are the required parameters and what is the uint for infinite approval?

Pm Rivière
  • 299
  • 1
  • 2
  • 10

1 Answers1

10
  1. Get the pool address

Go to the Uniswap UI at https://app.uniswap.org/. Choose the token pair you want and then click the View pair analytics ↗. This will take you to a link like https://uniswap.info/pair/<poolAddress>. Note down poolAddress.

  1. Approve via Etherscan

Go to https://etherscan.io/token/<tokenAddress>#writeContract where tokenAddress is the one you want to approve. Go to the approve tab and now enter poolAddress + amount.