The Rays have traded starting pitcher Matt Moore to the Giants, the team announced Monday.
The Rays acquired 25-year-old infielder Matt Duffy, 19-year-old shortstop prospect Lucius Fox and 21-year-old pitching prospect Michael Santos in return.
Moore spent his first six MLB seasons with the Rays. He was an All-Star in 2013 after going 17–4 with a 3.29 ERA, but he pitched only two games in 2014 due to Tommy John surgery.
In 21 starts this season, he has a 4.08 ERA and a career-best 1.269 WHIP.
Duffy finished second in Rookie of the Year voting in 2015 after batting .295 in 149 games, but is batting just .253 this season.
Moore, 27, has three years of team options remaining on his contract. The option for next season is worth $7 million, or the team can pay $2.5 million to buy him out.