D. Ross Cameron-USA TODAY Sports

The San Francisco Giants found key contributors again on Thursday, as right-handed reliever Tristan Beck went four shutout innings and Lamonte Wade Jr. hit a home run to help lead the Giants past the visiting Arizona Diamondbacks 1-0.

Wade Jr. hit his 11th homer, a blast over the right-field wall leading off the fourth inning, providing the only offense San Francisco needed.

Beck, 27, had a 2.20 ERA in June covering seven appearances (16 1/3 innings) and had been even better in July (one earned run in 9 1/3 innings, a 0.96 ERA). The rookie (3-0) on Thursday took over for opener Scott Alexander to start the second inning and totaled two hits allowed with no walks and three strikeouts.

Meanwhile, Diamondbacks starter Brandon Pfaadt (0-5) was sensational in the loss. He was perfect through three innings, then allowed the homer to Wade Jr., before recovering to retire 12 of the next 14 hitters.

Pfaadt allowed only two hits through his seven innings, with one walk and seven strikeouts.

Giants left-hander Tyler Rogers worked out of a jam in the eighth inning. With two on and one out, Rogers induced Corbin Carroll to foul out and then took an Emmanuel Rivera line drive off his upper body, recovered and threw out Rivera.

Giants closer Camilo Doval survived a scare in the ninth.

Diamondbacks slugger Christian Walker banged a one-out drive off the left-field wall so hard that he was held to a long single. After Lourdes Gurriel lined a base hit, Geraldo Perdomo grounded to second, forcing Gurriel and moving Walker to third.

Doval then retired Jace Peterson to lock down save No. 33, his second in the past two games.

Carroll, the betting favorite to take the National League Rookie of the Year title, singled and stole a base on Thursday. He now has hit safely in his past four road day games, going 5-for-13 with three home runs and two stolen bases.

More must-reads:

TODAY'S BEST
Three takeaways as Panthers eliminate Rangers, advance to Stanley Cup Final
Corey Heim dominates at Gateway for fourth Truck Series win of 2024 season
Mets honor Darryl Strawberry in fitting fashion during number retirement ceremony
Phillies ace leaves game after taking 106 mph comebacker to hand
Real Madrid defeats Borussia Dortmund 2-0 to win Champions League
Marvin Lewis opens up about about return to NFL coaching
Celtics HC shares Kristaps Porzingis update ahead of NBA Finals
Jalen Brunson claps back at tiredness narrative after Knicks' playoff exit
Red Sox lose yet another player to injury
Former NFL GM has huge praise for Packers QB Jordan Love
Drake Maye reportedly being treated as Patriots' QB3
Veteran 1B rejects outright assignment, elects free agency
Giannis Antetokounmpo to play for Greece in Olympic qualifier
Padres lose two top pitchers to injured list on same day
Fever announce remarkable attendance milestone in fifth 2024 home game
Senators reportedly undecided on qualifying defenseman
Lamar Jackson's curious offseason decision costing him significant money
Blue Jays two-time All-Star pitcher lands on IL for second time this season
Lakers set to benefit from Pelicans’ NBA Draft decision
One rookie quarterback is showing 'elite downfield accuracy' during OTAs