big_blocks_enabled
Documentation for eth_defi.hyperliquid.block.big_blocks_enabled function.
- big_blocks_enabled(private_key, is_mainnet=True, web3=None)
Context manager that enables large blocks and disables them on exit.
Checks whether the address already has large blocks enabled and only toggles if needed. Always restores the original state on exit (even if an exception occurs).
Example:
with big_blocks_enabled(private_key, is_mainnet=False, web3=web3): deploy_automated_lagoon_vault(...)