
ERC4626 · Reads onchain state
Reads how much underlying asset one whole share of an ERC-4626 vault is worth. The vault's decimals are read, one share is formed at that scale, and convertToAssets prices it in the asset's units. As the vault earns, the figure rises. Reach for it to track yield between runs by storing and comparing it, to value a share balance in asset terms, or to compare vaults on the same asset by rate.