Trade Yield Token (YT) for variable yield.
YT is traded with a token of the user’s choice.
A sufficient allowance for the Pendle Router on the appropriate token contract must be set
beforehand. For action
set to BUY
, this is the token
contract. For action
set to SELL
, this is the YT contract.
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
.