How to Find Liquidity Pool (LP) Addresses
Last updated
Last updated
When we add liquidity to a pool, we often need to know the contract address of the LP to lock the pool. Here are some methods to quickly find the LP contract address of your ERC20 token.
Use a blockchain explorer to search for the transaction record of adding liquidity.
For example, use the transaction hash of adding liquidity, such as ( https://testnet.bscscan.com/tx/0xdfd9412767cba1f16051850abd4d6685deb9d655f308624f8a65a0891ed87077 )
In this example, 5 BNB and 1,000,000,000,000 Doge tokens were added to the Pancake exchange.
Finally, 2,236,067.977... LP tokens were obtained.
Click on the Pancake LPs token contract address.
Enter the Pancake LPs token contract details page (as shown below)
The address in the red part of the upper right corner is the LP token contract address.
Use a blockchain explorer to search for the contract address, in the Contract
and Read Contract
positions.
Search for the keyword uniswapPair
Note: By searching for the uniswapPair
field address in the contract, you can obtain the LP address.
Open the corresponding page of the token issuer and enter the token admin page (this method is suitable for contracts that have not lost their permissions).
Enter the contract address to enter the admin page.
View the LP address.
Note: This method searches for the LP address of the BNB-XXX trading pair. If you add liquidity to a non-BNB trading pair, please use the first method to find your LP address.
Open the contract security check function URL: https://tokentools.app/audit/contract
Select the supported blockchain and enter the contract address for security check.
Obtain the pool address by checking the pool size detection information.