Lionel Messi could spend the latter days of his career at Inter Miami in Major League Soccer – at least, the club's co-owner is "optimistic" such a deal could be arranged.

Messi's future has been shrouded in uncertainly for the best part of a year, with the six-time Ballon d'Or winner attempting to force a departure from Barcelona last August.

While that did not come to fruition, with Messi unwilling to drag the club through the courts in an attempt to exercise an apparent get-out clause, his future has been a constant source of speculation through 2020-21 due to his contract expiring at the end of June.

Barca president Joan Laporta said this month that contract discussions were going well, with Messi seemingly happier at the club since the October resignation of Josep Maria Bartomeu and the previous board.

Although a move to Miami would seem unlikely at this juncture regardless of Messi's relationship with Barca, Jorge Mas, co-owner of the MLS side, sees no reason why an agreement would not be possible in the future.

"I am optimistic Messi will play in an Inter Miami shirt because I think it will complete the legacy of the greatest player in our generation and will meet with the ambitions of the owners of Inter Miami to build a world-class team," Mas told the Miami Herald.

Former Real Madrid, Manchester United and England star David Beckham is among the others to own a share of the MLS franchise and also serves as its president.

Mas says he and Beckham have certain ambitions regarding the calibre of player they want to see in Florida, and someone of Messi's reputation fits the bill.

He added: "David and I have been working really hard, we have aspirations of bringing the best players here and Messi is a generational player, arguably the best player of all time."