Buy
Buy

Pendle · Acts onchain

Swaps SY for a Pendle market's PT or YT through the router. The socket resolves the market's SY, approves the router, and calls swapExactSyForPt or swapExactSyForYt for the chosen kind, enforcing the min_out floor; the call returns the PT or YT received and the SY fee paid. Both tokens share the SY's decimals. Reach for it to enter a fixed yield or a yield exposure from SY, including on a market the plug resolves at fire time, coiling the market in from a witness and the floor from an oracle read.