Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

How to specify amount in the add liquidity link with v2 API? #202

Open
klesun opened this issue Nov 23, 2020 · 0 comments
Open

How to specify amount in the add liquidity link with v2 API? #202

klesun opened this issue Nov 23, 2020 · 0 comments

Comments

@klesun
Copy link

klesun commented Nov 23, 2020

Hello, sorry if this is wrong place to post this question.
In v1 of the Custom Linking API, there was an option tokenAmount in the /add-liquidity:

https://app.uniswap.org/#/add-liquidity?ethAmount=2.34&token=0x42456D7084eacF4083f1140d3229471bbA2949A8&tokenAmount=300?use=v1

But I do not see this parameter mentioned in the v2 docs:

https://app.uniswap.org/#/add/0x6B175474E89094C44Da98b954EedeAC495271d0F-0xdAC17F958D2ee523a2206206994597C13D831ec7

Is there a way to specify this parameter in v2 url? v1 urls don't seem to work anymore sadly ;c.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@klesun and others