def send_reqs_batches_and_get_suff_replies(looper: Looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, num_reqs: int, num_batches=1, **kwargs):
    if (num_batches == 1):
        return sdk_send_random_and_check(looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, num_reqs)
    else:
        requests = []
        for _ in range((num_batches - 1)):
            requests.extend(sdk_send_random_and_check(looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, (num_reqs // num_batches)))
        rem = (num_reqs % num_batches)
        if (rem == 0):
            rem = (num_reqs // num_batches)
        requests.extend(sdk_send_random_and_check(looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, rem))
        return requests
def send_reqs_batches_and_get_suff_replies(looper: Looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, num_reqs: int, num_batches=1, **kwargs):
    if (num_batches == 1):
        return sdk_send_random_and_check(looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, num_reqs)
    else:
        requests = []
        for _ in range((num_batches - 1)):
            requests.extend(sdk_send_random_and_check(looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, (num_reqs // num_batches)))
        rem = (num_reqs % num_batches)
        if (rem == 0):
            rem = (num_reqs // num_batches)
        requests.extend(sdk_send_random_and_check(looper, txnPoolNodeSet, sdk_pool_handle, sdk_wallet_client, rem))
        return requests