Get USDY price

Get USDY price on Ondo

Ethereum
Ethereum

Reads onchain state

Reads USDY's USD redemption price from Ondo's dynamic oracle. The oracle's getPrice returns the price at 18 decimals, which rises daily as USDY accrues yield. It is the exact rate the rUSDY wrapper uses to convert between USDY and rUSDY. Reach for it to value a USDY balance in dollars, to compute the rUSDY a wrap will mint, or to measure yield between runs by comparing against a stored value.

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.

More on Ondo · 3

On other protocols · 6