Get oracle
Get oracle

Pendle · Reads onchain state

Looks up the Chainlink-compatible oracle Pendle's oracle factory deployed for a market, TWAP window, and oracle type. The factory keys each oracle by the market, the duration in seconds, and whether it prices PT or LP in SY or in the accounting asset, so the lookup is deterministic: one input triple names exactly one oracle, or the zero address when none has been deployed. Reach for it to prove a lending market's price feed is the canonical Pendle oracle for a market the plug resolves at fire time, requiring the feed a Morpho oracle reports equals the address this returns.