def METHOD_NAME(redis) -> CachedProgramTxInfo:
    latest_sol_play_db = get_cache_latest_sol_program_tx(
        redis, latest_sol_play_db_tx_key
    )
    plays_from_db = None
    if not latest_sol_play_db:
        # If nothing found in cache, pull from db
        plays_from_db = get_latest_sol_plays(1)
        latest_sol_play = plays_from_db[0] if plays_from_db else None
        if latest_sol_play:
            latest_sol_play_db = {
                "signature": latest_sol_play.get("signature"),
                "slot": latest_sol_play.get("slot"),
                "timestamp": int(
                    latest_sol_play["created_at"].timestamp()  # pylint: disable=E1136
                ),
            }
            # If found, re-cache value to avoid repeated DB hits
            if latest_sol_play_db:
                cache_latest_sol_play_db_tx(redis, latest_sol_play_db)
    return latest_sol_play_db