Get market state
Get market state

Pendle · 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.