MIAMI, FL - OCTOBER 20: Tyler Johnson #8 of the Miami Heat dribbles with the ball against the Charlotte Hornets at American Airlines Arena on October 20, 2018 in Miami, Florida. (Getty Images)

The Phoenix Suns have acquired guards Tyler Johnson and Wayne Ellington from the Miami Heat in exchange for forward Ryan Anderson, the team announced Wednesday.

The 26-year-old Johnson is in his fifth NBA season. He is averaging 10.8 points, 2.8 rebounds and 2.5 assists in 44 games with the Heat this season. He is scheduled to make $19.2 million this season
and another $19.2 million next season if he exercises his player option. He would then become a restricted free agent going into the 2020-21 season.

Ellington is in his 10th NBA season and has averaged 8.4 points in 25 games with the Heat this season. He will make $6.27 million this season and will then become a free agent. Wojnarowski reported Ellington's agent is working with the Suns in an attempt to get them to waive Ellington so he can join a playoff contender.

The 30-year-old Anderson has played in just 15 games for the Suns after being acquired from the Houston Rockets in an offseason trade. He averaged 3.7 points in those games. He will make just over $20 million this season
and just over $21 million next season before becoming an unrestricted free agent.