16 lines
366 B
Python
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()
|