How to get the token addresses from an LP address?

I’m trying to find a query that will help me get the token addresses of the token pair from an LP address. Is this something I need to look for in web3.js?

Hey @markyjennings

Each LP contract has methods like : token0 and token1. They will return you addresses of tokens in LP pair

You can use Web3 functionality in the Cloud Code (
From the frontend

Hope it will help you :man_factory_worker: