Spencer Dinwiddie is one of the two longest-tenured Nets, a holdover from general manager Sean Marks’ first full season in 2016-17, but that tenure could be drawing to a close.

The veteran guard opted out of the $12.3 million final year of his contract, and will become an unrestricted free agent this summer. Considering Dinwiddie’s value on the market — despite the partially torn ACL that kept him out most of this past season — that was a given. What remains to be seen is where he’ll end up, how he will get there and how much he will be paid.

The Knicks, Lakers, Clippers and Bulls have all been suggested as potential landing spots for Dinwiddie, either via free agency or a sign-and-trade.

“Obviously Spencer has put himself in a position to secure his future long-term,” Marks said. “We’d obviously love to play a role in that, whether that’s here or whether we can help him.”

The Nets, who plucked both Dinwiddie and Joe Harris off the proverbial scrap heap in 2016, can still re-sign Dinwiddie. But that’s more possible than plausible, due to both finances and the Los Angeles native’s purported desire to go back home.