0xcalldata

ERC-4626 function

convertToAssets(uint256)

Estimates how many underlying assets correspond to a share amount in an ideal conversion.

Selector
0x07a2d13a
Mutability
view

Generate convertToAssets calldata

Edit the example inputs to rebuild the bytes instantly in your browser. Nothing is sent and no transaction is submitted.

uint256
calldata36 bytes
sel0x07a2d13a
convertToAssets(uint256)
0x0000000000000000000000000000000000000000000000000000000000000f4240
shares · uint256 =1000000

How convertToAssets works

This average-user conversion excludes fees, slippage, limits, and caller-specific conditions.

Parameters

NameSolidity typeMeaning
sharesuint256Vault share amount to convert.

Return value

Estimated underlying assets, rounded down.

uint256 result

Return data comes back after execution and is not included in the calldata above.

View all ERC-4626 functions →