Manage liquidity in a Pendle Market.
Liquidity is supplied to or withdrawn from 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.
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
beforehand. For action
set to SUPPLY
, this is the token
contract. For action
set to WTIHDRAW
, this is the market contract (LP).
A quote is included with the response.
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
.