pub fn batch_with_transactions(num_of_transactions: usize) -> Batch