Add liquidity to a Pendle Market to earn yield.
Liquidity is added to the market with a token of the user’s choice.
Representation of the liquidity provided is in the form of market’s Liquidity Provider Token (LP) received by the user.
An appropriate allowance for the Pendle Router on the token_in contract must be set beforehand.
Required Allowances
In order to make this transaction, token allowances need to be set for the following contracts.
PendleRouter
Successful Response
The response is of type object
.