The New York Mets and shortstop Francisco Lindor have agreed to a 10-year, $341 million deal, a source told ESPN's Jeff Passan on Wednesday.

Lindor's deal will be the third largest based on total value in major league history, trailing only the deals for the Los Angeles Angels' Mike Trout ($426.5 million) and the Los Angeles Dodgers' Mookie Betts ($365 million).