ERC-4626 function
totalAssets()
Returns the total underlying assets currently managed by an ERC-4626 vault.
- Selector
- 0x01e1d114
- Mutability
- view
Generate totalAssets calldata
Edit the example inputs to rebuild the bytes instantly in your browser. Nothing is sent and no transaction is submitted.
This function takes no parameters.
calldata4 bytes
sel0x01e1d114
totalAssets()
How totalAssets works
The value is expressed in underlying asset units and includes yield or compounding accounted for by the vault.
Parameters
This function takes no parameters. Its calldata is only the four-byte selector.
Return value
Total managed assets as a raw uint256 amount.
uint256 resultReturn data comes back after execution and is not included in the calldata above.