Get total assets

Get total assets on Exactly

Base
Base

Reads onchain state

Reads the total underlying asset an ERC-4626 vault manages. The vault's totalAssets is the asset value backing all shares, in the asset's units, and is the numerator of the share price. Reach for it to judge a vault's size before depositing, to compute your share of it against total supply, or to detect a drawdown by comparing against a stored earlier 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 Exactly · 21

On other protocols · 5