In return, the Rays got back Kameron Misner, a 23-year-old outfield/third base prospect.
Wendle spent the past four seasons with Tampa Bay. He had a career-high 11 home runs to go with 54 RBIs and 73 runs scored in 136 games this past season for the AL East champion Rays.
Misner, the 35th overall selection in the 2019 draft, split time between Single-A and Double-A in 2021, hitting .253 with 12 home runs, 59 RBIs and 70 runs scored between the two.
To make room for Wendle on the 40-man roster, outfielder Lewis Brinson was designated for assignment.
Also Tuesday, the Marlins completed the signing of right-hander Sandy Alcantara to a five-year contract. The sides agreed Sunday to a deal worth $56 million. It includes an option for a sixth season, per the team.
He gets a $1.5 million signing bonus and salaries of $3.5 million in 2022, $6 million in 2023, $9 million in 2024 and $17 million apiece in 2025 and 2026. Miami has a $21 million option for 2027 with a $2 million buyout.
Alcantara would receive a one-time assignment bonus of $1 million if traded.
It's a record-setting deal for the Marlins in a couple of different ways. It's the longest and richest for in history for any first-year arbitration eligible pitcher, according to the Marlins, and the longest deal that the current team ownership group -- led by Bruce Sherman and Derek Jeter -- have given a player.
Information from The Associated Press was used in this report.