Swap variable DeFi APY for fixed yield on Pendle
The separation of yield-bearing assets into principal and yield components on Pendle V2 operates on a strict identity: $1\text{ SY} = 1\text{ PT} + 1\text{ YT}$.

This architectural framework shifts the risk of yield volatility from the fixed-rate purchaser to the yield speculator. The transaction is executed through a specialized Automated Market Maker (AMM) designed to account for time decay. To evaluate the efficiency of this swap, we must dissect the underlying token standards, pricing curves, and redemption mechanics of the protocol.
Deconstructing Yield: The Mechanics of PT and YT Tokenization
The core engine of Pendle is the tokenization of yield-bearing assets via the ERC-5115 Standardized Yield (SY) token standard. Any yield-bearing token—such as stETH, aUSDC, or eETH—is wrapped into an SY token. Once wrapped, the protocol splits the SY token into two distinct ERC-20 tokens: the Principal Token (PT) and the Yield Token (YT).
The Principal Token (PT) represents the clean principal component of the underlying asset. It does not accrue yield during the lifespan of the contract. Instead, it is programmed to be redeemable 1:1 for the underlying asset upon reaching the maturity date. Because PT does not receive yield, it trades at a discount to the underlying asset. The discount is determined by market demand and the variable yield expectations of the pool participants.
The Yield Token (YT) represents the right to receive all variable yield generated by the underlying SY token until the maturity date. YT holders receive yield distributions directly to their wallets in real-time. Because YT value is tied entirely to future yield generation, its price decays toward zero as the maturity date approaches.
The elegance of Pendle's tokenization is its zero-sum accounting: every unit of fixed return extracted by a PT buyer corresponds to a unit of variable exposure transferred to a YT buyer. The pool itself holds no opinion on direction.
Through this segregation, Pendle enables two distinct strategies. Purchasing PT is equivalent to buying a zero-coupon bond, locking in a fixed return. Purchasing YT is equivalent to entering a leveraged long position on the variable interest rate of the underlying protocol. Neither instrument carries embedded leverage in the traditional margin sense—the leverage is structural, arising from the yield-to-cost ratio of YT, which can exceed 10x on high-APY underlying assets.
Why the SY Wrapper Matters
The SY wrapper is not a cosmetic abstraction. It standardizes the interaction layer between Pendle's AMM and dozens of different yield-bearing protocols. Without SY, the AMM would need bespoke integration logic for every LST, LRT, and stablecoin vault. The SY standard defines a common interface for deposit, withdrawal, and yield accrual, which allows Pendle to support new assets by deploying a single adapter contract rather than rearchitecting the AMM.
Calculating Your Return: How Implied APY Defines Fixed Yields
The pricing of PT and YT is determined by the Pendle AMM, which utilizes a customized logarithmic utility curve. Unlike standard constant product AMMs, Pendle's AMM shifts its price curve as time progresses toward maturity, accounting for the natural time decay of the Yield Token. This time-aware curve is what makes the Implied APY stable enough to serve as a reliable fixed-rate benchmark.
The fixed yield available to a PT buyer is represented as the Implied APY. This metric is derived from the discount at which the PT trades relative to the underlying asset. The formula for calculating the fixed yield is:
$$\text{Fixed Yield (Implied APY)} = \left( \frac{\text{Face Value at Maturity}}{\text{Current PT Price}} \right)^{\frac{365}{\text{Days to Maturity}}} - 1$$
If the market expects the variable yield of the underlying asset to rise, demand for YT increases, driving up the price of YT and causing the price of PT to drop. A lower PT price increases the discount, which raises the Implied APY for PT buyers. Conversely, if variable yield expectations drop, PT demand rises, driving the PT price closer to parity and compressing the Implied APY.
Understanding this relationship is critical. The Implied APY displayed on the interface is the actual fixed rate locked at the moment of purchase, irrespective of how the variable rate behaves post-transaction.
| Parameter | Principal Token (PT) | Yield Token (YT) |
|---|---|---|
| Primary Function | Lock in fixed yield (long principal) | Speculate on variable yield volatility (long yield) |
| Return Profile | Fixed APY via discount redemption | Variable yield distribution (subject to decay) |
| Value at Maturity | Exactly 1:1 with the underlying asset | Decays to zero |
| Risk Profile | Underlying protocol failure, smart contract bugs | Yield compression, capital loss on YT purchase |
| Capital Efficiency | 1:1 with underlying (no leverage) | Structural leverage from yield-to-cost ratio |
| Target User | Hedgers, conservative capital allocators | Yield speculators, active traders |
Reading the Spread Between Implied and Underlying APY
The spread between the Implied APY (fixed rate on PT) and the Underlying APY (current variable rate of the asset) functions as a market-consensus indicator. A positive spread—where Implied APY exceeds Underlying APY—signals that the market prices in rising yields. A negative spread signals the opposite. Tracking this spread over time across pools reveals whether fixed-rate buyers are being compensated fairly for surrendering upside.
Executing the Swap: A Step-by-Step Guide to Purchasing Principal Tokens
To successfully swap variable DeFi APY for a fixed rate, capital allocators must interact with the Pendle AMM. The execution path requires selecting the appropriate pool, analyzing the yield spread, and locking the rate.
Step 1: Analyze Pool Metrics and Underlying Rates
We must first evaluate the target pool. The protocol supports blue-chip liquid staking tokens (LSTs), liquid restaking tokens (LRTs), and stablecoin vaults. When assessing a pool, compare the "Underlying APY" (the current variable rate of the asset) against the "Implied APY" (the fixed rate you will receive by holding PT).
- Implied APY > Underlying APY: The market is pricing in future yield increases. Purchasing PT here locks in a premium over the current variable rate—advantageous if you believe yields will actually fall or remain flat.
- Implied APY < Underlying APY: The market expects yield compression. Purchasing PT here represents a hedge against falling rates, sacrificing current yield for certainty.
Also check the time to maturity. Shorter maturities (30–90 days) carry lower absolute discount but allow faster capital recycling. Longer maturities (180–365 days) lock in the rate for a longer horizon but increase exposure to underlying protocol risk over time.
Step 2: Access the Swap Interface
On the interface, select the asset pool and toggle the action to "Input". The interface allows users to check swap variable defi apy for fixed yield on defi assets by inputting the underlying asset (e.g., ETH) or the wrapped SY token. The router automatically routes the trade through the AMM, handling the intermediate SY wrapping and PT/YT split under the hood.
Step 3: Configure Slippage and Execute
Because PT liquidity is concentrated around the current Implied APY, large orders can suffer from slippage. We recommend setting a maximum slippage tolerance of 0.1% to 0.5% depending on the pool depth. For pools with deeper liquidity (stETH, wETH), 0.1% is typically sufficient. For niche LRT pools, 0.5% provides a safer buffer.
Purchasing PT at a discount locks in the Implied APY at the transaction timestamp, neutralizing exposure to subsequent variable rate drops. The rate is fixed; the trade-off is forgone upside.
Confirm the transaction in your Web3 wallet. Upon execution, the smart contracts deposit the input asset, mint the corresponding SY, split it into PT and YT, sell the YT for more PT via the AMM, and deliver the accumulated PT to your address. The net result: you hold more PT than the nominal amount of the input asset, and the difference represents your locked-in yield.
Navigating Maturity: Redeeming PTs and Managing Underlying Asset Exposure
Principal Tokens do not automatically roll over into new epochs. Once the maturity date is reached, the PT ceases to trade at a discount and trades at parity (1:1) with the underlying asset. At this stage, the fixed yield generation stops.
To reclaim the capital, we must initiate a redemption transaction. The protocol allows users to redeem PT directly for the underlying asset or roll the capital into a new maturity pool. Strict adherence to contract maturity dates is essential—leaving PT unredeemed post-maturity creates opportunity cost, as the asset no longer yields interest and sits idle in the contract.
Redemption Checklist
1. Navigate to the "Portfolio" tab on the protocol interface.
2. Locate the matured PT position (marked with a maturity indicator).
3. Select "Redeem" to initiate the smart contract call.
4. Choose the output asset: either the underlying yield-bearing asset (e.g., stETH) or the base asset (e.g., ETH, depending on pool configuration).
5. Execute the transaction. The smart contracts burn the PT and release the equivalent value of the underlying asset.
Rolling Capital into a New Epoch
For capital allocators who wish to maintain a continuous fixed-rate position, rolling is the preferred action. Rather than redeeming and re-entering, the roll function redeems the matured PT and immediately purchases PT in the next available maturity pool. This minimizes idle time between epochs and reduces the cumulative gas cost of two separate transactions. The trade-off is that the Implied APY on the new maturity may differ materially from the expired one—rolling blindly without checking the new rate defeats the purpose of fixed-yield allocation.
Risk Assessment: Distinguishing Between Fixed Yield Strategies and Speculative YT Positions
It is a common misconception that fixed yields generated via structured DeFi products are risk-free. The fixed rate is guaranteed only in terms of the underlying asset unit, and the entire architecture rests on layers of smart contract dependencies.
Smart Contract and Underlying Protocol Risk
When you purchase a PT for a liquid restaking token (e.g., PT-eETH), you are exposed to a chain of dependencies:
- Pendle V2 Smart Contract Risk: Potential vulnerabilities in the AMM or tokenization contracts. Pendle V2 has undergone multiple audits, but no audit eliminates risk entirely.
- Underlying Protocol Risk: If the underlying yield source (e.g., Ether.fi or Lido) suffers an exploit, slash event, or systemic insolvency, the value of the SY token drops. Since PT is redeemable for the underlying SY, the value of your PT will drop proportionally.
- Oracle and Pricing Risk: The AMM relies on pricing assumptions embedded in its curve. Extreme market conditions could cause the AMM to deviate from fair value, though arbitrageurs typically correct this quickly.
The Speculative Nature of YT
Purchasing Yield Tokens (YT) is not a fixed-yield strategy. YT is a highly speculative instrument. If a user purchases YT expecting a variable APY of 20%, but the actual variable APY drops to 5%, the yield collected will not cover the purchase cost of the YT. At maturity, the YT expires worthless, resulting in a net capital loss.
The math is unforgiving. YT pricing embeds the market's forward expectation of yield. You only profit from YT if the realized variable APY exceeds the Implied APY embedded in the YT price at the time of purchase. This makes YT a bet against the consensus—a position that demands both conviction and timing.
Impermanent Loss Considerations for LPs
Liquidity providers in Pendle pools face a unique variant of impermanent loss. Because the AMM's curve shifts as maturity approaches, LPs providing liquidity to PT/YT pairs must account for the time-decay vector. The IL in Pendle pools is structurally different from standard Uniswap V2-style IL because one side of the pair (PT) converges to a known value at maturity while the other (YT) converges to zero. LPs should model their expected return against the guaranteed return of simply holding PT to maturity.
Verdict: The Risk-to-Reward Ratio
Pendle V2 provides a robust, mathematical mechanism for interest rate swaps on-chain. For capital allocators requiring predictable cash flows, locking in fixed yields via PT offers a clean, non-liquidating alternative to traditional lending markets. The protocol's AMM design handles the complexity of time decay and yield separation transparently, making the fixed-rate purchase as simple as a standard token swap.
However, this strategy does not eliminate structural smart contract risk or the credit risk of the underlying yield generator. The utility of the protocol is high, but it must be integrated with clear boundaries on underlying protocol exposure. Treat PT as a fixed-income instrument with crypto-native credit risk, not as a savings account with guaranteed safety. The yield is fixed; the foundation beneath it is not.