estimate_value_by_share_price
Documentation for eth_defi.erc_4626.estimate.estimate_value_by_share_price function.
- estimate_value_by_share_price(vault, share_amount, block_identifier='latest')
Estimate ownership value by the share price.
- Parameters
vault (eth_defi.erc_4626.vault.ERC4626Vault) –
share_amount (decimal.Decimal) –
block_identifier (Union[Literal['latest', 'earliest', 'pending', 'safe', 'finalized'], eth_typing.evm.BlockNumber, eth_typing.evm.Hash32, eth_typing.encoding.HexStr, hexbytes.main.HexBytes, int]) –