def get_sender(tx: dict) -> str:
    """
    Returns the tx sender's address
    :param tx: transaction dictionary
    :return: str
    """
    return tx["events"][0]["sub"][0]["sender"][0]["account"]["id"]