Kevin Durant’s trade to the Houston Rockets is official and officially record-setting.

The deal got approved by the NBA on Sunday as part of a seven-team transaction, one in which a slew of other trade agreements got folded into one massive package.

“Kevin impacts the game on both ends of the court and is one of the most efficient scorers in the history of basketball,” Rockets general manager Rafael Stone said. “We liked the growth our team showed last season and believe Kevin’s skill set will integrate seamlessly.”

Involved in the deal: Phoenix, Houston, Atlanta, Minnesota, Golden State, Brooklyn and the Los Angeles Lakers. It includes a total of 13 players — the headline moves include Durant going to Houston from Phoenix, the Rockets sending Jalen Green and Dillon Brooks to the Suns, and the Rockets acquiring Clint Capela from the Hawks.

The seven-team involvement in the Durant trade tops the previous record, a six-team transaction last summer that most notably sent Klay Thompson to the Dallas Mavericks. Golden State — Thompson’s former team — obviously was another part of that trade, as were Charlotte, Minnesota, Philadelphia and Denver on varying levels.

There will be at least five second-round draft picks in the deal before all terms are satisfied, the potential for another second-round pick swap and the Hawks and Timberwolves both had to receive some cash considerations to make all the math work. And some of those draft picks won’t actually be made until 2032, which raises the serious possibility that some players who will go down in history as being part of the trade haven’t reached high school yet.

Durant averaged 26.6 points last season, his 17th in the NBA — not counting one year missed because of injury. For his career, the 6-foot-11 forward is averaging 27.2 points and seven rebounds per game.

Houston sent Green and Brooks to Phoenix, along with the rights to Khaman Maluach from last month’s draft, a second-round pick in 2026 and another second-rounder in 2032.

The Hawks got David Roddy, cash and a 2031 second-round pick swap from the Rockets. Brooklyn gets a 2026 second-round pick and another in 2030 from the Rockets.

The Warriors received the rights to Jahmai Mashack from last month’s draft.