Trout does have a number of endorsement deals with companies including Rawlings and Nike, and in 2014 he became of the first baseball player since Ken Griffey Jr. to get a Nike signature cleat. But baseball players’ ability to move merchandise pales in comparison to that of a basketball player or a soccer player, and endorsement contracts reflect that.

Trout earns an estimated $2.5 million from endorsements annually, according to Forbes. Kevin Durant’s endorsement deal with Nike alone is worth up to $300 million over 10 years, while Harden will earn $200 million over 13 years from Adidas. LeBron James of the N.B.A. and Cristiano Ronaldo, the Portuguese soccer star for Juventus, have lifetime deals with Nike that are rumored to be worth $1 billion each.

While a handful of athletes earn more from their contracts annually than Trout, those individuals almost assuredly will not be doing so in 2030, the final year of Trout’s deal. N.B.A. contracts last a maximum of five years, and with a few exceptions, soccer contracts are rarely longer than that, either. Boxers typically earn their money fight to fight, while golf and tennis players simply claim a share of tournament prize money.

But in 2030, no matter how Trout’s baseball career progresses, he will earn at least $36 million — a priceless long-term assurance.

He has earned the payout by putting together seven astounding seasons to begin his career; the most similar players, production-wise, at his age, according to Baseball Reference, have been the Hall of Famers Frank Robinson, Ken Griffey Jr. and Mickey Mantle. Trout has won two American League Most Valuable Player Awards and been the runner-up four times. His career batting average is .307 and he is the majors’ active leader in on-base plus slugging percentage, at .990.

But, adding to Trout’s lack of recognition and earning power, postseason success has eluded him. He has reached the playoffs just once, in 2014, when the Angels were swept by the Kansas City Royals in a division series. The possibility of Trout departing for a new team loomed after the 2020 season, when his six-year, $144.5 million contract was set to expire; Harper, for one, had said he would love for Trout to join him in Philadelphia.

Trout still lives in his hometown, Millville, N.J., in the off-season, and is a die-hard Philadelphia Eagles fan. But the Angels had tried to impress upon Trout the benefits of keeping his work and home lives separate, and to sell him on the idea of being a one-team icon with a franchise with which he has thrived. And with a promise of an enormous paycheck — at least for on-field performance — the Angels put together a winning pitch.