def check_tx_type(tx: dict, kind: str) -> bool:
    """
    :param tx: transaction dictionary
    :param kind: string containing tx type
    :return: boolean
    """
    if tx["events"][0]["kind"] == kind:
        return True

    return False