Get amount for units

Get amount for units on Aera

Base
Base

Reads onchain state

Reads how much of a token an amount of an Aera vault's units is worth at the vault's current price. The price is the one the vault's calculator publishes and its solver fills requests at, so this is what a redemption request would pay before the request's small tolerance. Reach for it to value a position in the vault or to gate a redemption on what it would pay.

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 Aera · 4

On other protocols · 6