def set_batch_amount(amount):
    """
    Sets the batch amount to `count`. The batch amount is the number of transactions
    to send in 1 batch of transactions. This amount can influence the termination speed
    of the generator. Moreover, the bigger the amount, the more transactions sent
    without verifying / syncing the nonce.

    Note that batched transactions are only used when the nonce is *NOT* enforced.

    Default is 10 transactions per batch.

    **Set this amount with caution.**
    """
    global _implicit_gen_txn_nonce
    assert isinstance(amount, int)
    _implicit_gen_txn_nonce = amount
