hyperliqbot/examples/basic_evm_use_big_blocks.py
Cipher Zero Protocol a586f695ad cmt
2025-06-07 00:36:47 +03:00

16 lines
366 B
Python

import example_utils
from hyperliquid.utils import constants
# This example shows how to switch an account to use big blocks on the EVM
def main():
address, info, exchange = example_utils.setup(constants.TESTNET_API_URL, skip_ws=True)
print(exchange.use_big_blocks(True))
print(exchange.use_big_blocks(False))
if __name__ == "__main__":
main()