In a sign of how much they value the hometown slugger, the Giants will give Joc Pederson a substantial raise next season after he accepted their qualifying offer on Tuesday.

Pederson was perhaps the most surprising of the 14 players around MLB to receive the offer, which will pay him $19.65 million (the average salary of MLB’s 125 highest-paid players), more than triple his $6 million salary in 2022.

That likely made it an easy decision for Pederson, a Palo Alto native whose wife recently gave birth to their third child, even if he could have garnered a multiple-year deal on the open market. He turned down an option for $10 million prior to signing with the Giants last season, and he has never earned more than $7 million annually, according to Cot’s Contracts.

Pederson was one of only two players, along with Rangers starter Martin Perez, to accept a qualifying offer. The Giants also offered one to Carlos Rodón, who rejected it, as expected, making him a free agent.

Bringing back Pederson, their top left-handed and power hitter from last season, was in the words of president of baseball operations Farhan Zaidi, “part of our plan A for 2023.”

Zaidi said the sides discussed a multi-year deal but couldn’t reach the finish line, and the engorged salary of a qualifying offer — along with the burden it carries, requiring other teams to part with a draft pick to sign him — was intended to lure Pederson back for another season, despite missing the postseason for the first time in his career.

“Ultimately it was the best way to keep him in a Giants uniform for 2023, which we’re happy about,” Zaidi said.

Pederson, rocking a Golden State Warriors 2021-22 championship hat, said that he has “enjoyed my time in San Francisco.”

“It’s a great organization. I think we definitely underperformed last year. It’s a good group of guys and we’re going to add some pieces, I’m pretty sure.”

Pederson was voted an All-Star and led the Giants with 23 home runs in only 380 at-bats. But his sluggish defense in left field (the lowest-rated outfield defender in the NL, according to FanGraphs) encapsulated a wider problem for a team regarded by most metrics as the worst defensively in the majors.

“It was not a good defensive year for a lot of guys on the Giants,” said Pederson, who added that while he was open to DHing more often he also intended to play the outfield for years to come. “It was extremely frustrating. One thing leads to another and then to another. And then an overthrow or you miss the cut off guy. It was like a merry-go-round, and that’s our own faults and we need to be better. It’s not something that we’re not aware of.”

Zaidi said the plan is to play Pederson more at designated hitter — perhaps as one-half of a platoon — but Zaidi would also be happy if Pederson could credibly claim to be in the best shape of his life when spring training rolls around next year.

While Pederson said he received no assurances from the Giants’ top brass, he did say it would have been a “very upsetting thing to sign up for,” if he didn’t believe they stood a chance at returning to the postseason. In eight seasons in the majors, last year was the first time Pederson didn’t play in the postseason.

“I’m confident in the group that we have and the pieces that we’re gonna add that we’re gonna be in the perfect position to compete,” Pederson said. ” … As bad as it was, we still finished at .500. That’s not a good expectation to have. But it just shows you, we weren’t like 20 games under and everything fell apart. Everything fell apart and we finished at .500.”

No thanks, but let’s talk >> In the final formality on his way to a much bigger payday, Rodón rejected the Giants’ qualifying offer.

Rodón already opted out of a $22.5 million salary for next year. By offering the $19.65 million qualifying offer, the Giants will recoup a draft pick from any team that signs Rodón, who is expected to command a long-term deal worth nine figures as one of the top starting pitchers on the free-agent market.

A reunion is not out of the cards, but it would require the Giants to break precedent under Zaidi. Rodón’s full contract (two years, $44 million) would have been the most money Zaidi has committed to one player. But that claim belongs to Anthony DeSclafani (three years, $36 million).