The Rockets have agreed to send the two-time All-Star Victor Oladipo to the Heat.

The Rockets are acquiring Avery Bradley, Kelly Olynyk, and a 2022 draft-pick swap. Houston will have the ability to swap either its own 2022 first-rounder or Brooklyn’s 2022 first-rounder for Miami’s pick.

Oladipo played 20 games for Houston, averaging 21.2 PPG, 5.0 APG and 4.8 RPG in 33.5 MPG.

Olynyk has an expiring $12.6MM contract and Bradley’s $5.9MM salary for next season includes a team option.