Get LP Account Address
Parameter Explanation:
jetton0
: The address of the first tokenjetton1
: The address of the second token
Example Request:
This request will get the LP account address composed of the token with address 0x1234567890
and the token with address 0x0987654321
.
Successful Response:
Response Field Explanation:
success
: Whether the request was successfuldata.lpAccountAddress
: The LP account address
By calling this API endpoint and providing the addresses of two tokens in a liquidity pool, you can get the LP account address of that liquidity pool. This address is used to identify the LP’s share and rewards in the liquidity pool.
LPs can use this address to query their share in the liquidity pool, withdraw rewards, and manage their liquidity.
Note that before calling this endpoint, you need to ensure that the specified token pair has a corresponding liquidity pool. If the liquidity pool does not exist, an error response may be returned.