


Reads onchain state
Quotes how much underlying asset an ERC-4626 share amount is worth. The conversion picks the vault's convertToAssets for the average rate, previewMint for the assets a mint would cost, or previewRedeem for the assets a redemption would return, the latter two including the fees and rounding the vault applies. Reach for it to value a share balance, to set a floor before a redeem, or to compute how much asset a mint will pull before approving it.
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 ERC4626 · 9










On other protocols · 6