The Los Angeles Dodgers are on the verge of acquiring All-Star shortstop Manny Machado from the Baltimore Orioles for a package that includes outfield prospect Yusniel Diaz, according to The Athletic.

ESPN’s Buster Olney had reported earlier Tuesday that the Orioles had the structure of a deal in place for Machado and were working through specific aspects of the trade.

As Machado prepared for Tuesday night’s All-Star Game in what could be his final appearance in a Baltimore uniform, the Orioles were going through medical records and other paperwork involved in the transaction, sources told Olney.

Diaz, 21, who homered twice in Sunday’s Futures game, is hitting .314 this season with six home runs and 30 RBIs in 59 games for the Dodgers’ Double-A Tulsa team and is ranked as one of the team’s top prospects.

The Philadelphia Phillies and Milwaukee Brewers were also among the teams that reportedly had made a strong push to acquire Machado, who came into the All-Star break hitting .315 with 24 home runs and 65 RBIs.

Machado, 26, spoke briefly to reporters in the American League clubhouse before the All-Star Game on Tuesday and said he has not received any updates on his status from the Orioles or his agent.

“Nothing,” he said. “I haven’t heard anything. I’m just worried about the game today. Whatever happens moving forward will happen, and there will be a time and place for everything.”

Machado later pulled out his phone and snapped a selfie with Dodgers All-Star Matt Kemp, who had pulled into second base with a double leading off the second inning.

He also took a selfie with a former teammate, Braves All-Star Nick Markakis.

Olney reported Sunday that even if the Phillies do not trade for Machado this summer, they would ardently pursue him as a free agent after the season. Philadelphia’s front office is loaded with former Orioles officials who were involved in the drafting and developing of Machado — including president Andy MacPhail, general manager Matt Klentak and assistant GM Ned Rice.

In an interview with Fox after being removed from the All-Star Game in the sixth inning, Machado was asked what his day was like amid the rumors.

“You know what, just try not to think about it honestly,” said Machado. “Just try to enjoy this moment, come out here with the American League guys and just enjoy it with all these guys that I’ve played with for a long time.”

Knowing it was likely the last time he would wear an Orioles uniform, Machado said his emotions were “Amazing. Through the roof. It was a tremendous honor to wear this uniform. They gave me the opportunity to come up and play in the big leagues. That’s everyone’s dream, and they gave me that. They gave me the opportunity to play shortstop again. The organization has done everything, so if this is the last time, hopefully I treated them well and did everything I can for the organization.”