


Reads onchain state
Reads a Pendle market's full on-chain state. The market's readState returns PT, SY, and LP totals in their own decimals, the scalar root, expiry, and ln fee rate root at 18 decimals, the reserve fee percent, and the last implied rate. Reach for it to compute a position's share of the pool, to reason about a market's depth before a large trade, or to feed the reserves into a custom valuation.
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
More on Pendle · 20





















On other protocols · 1