Get total assets

Get total assets on ERC4626

Ethereum
Ethereum
Base
Base

Reads onchain state

Ready to run on Base

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 plugs on Base

Earn yield on Base · 12 plugs

More on ERC4626 · 9

On other protocols · 5