Get total assets
Get total assets

ERC4626 · 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.

On other protocols · 2