


Acts onchain
Swaps a Pendle market's PT or YT for SY through the router. The socket resolves the sold token from the market, approves the router, and calls swapExactPtForSy or swapExactYtForSy for the chosen kind, enforcing the min_out floor; the call returns the SY received and the SY fee paid, both in the SY's own decimals. Reach for it to exit a fixed yield or a yield exposure into SY ahead of maturity, coiling the SY out into a redemption to the accounting asset or a swap.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
Earn yield on Base · 12 plugs
Posts · 1
More on Pendle · 20