def get_list_of_block_numbers(item):
    """ Creates a list of block numbers of the given list/single event"""
    if isinstance(item, list):
        return [element['block_number'] for element in item]

    if isinstance(item, dict):
        block_number = item['block_number']
        return [block_number]

    return list()