MLB is investigating Miami Marlins pitcher Jarred Cosart for possible involvement in sports-related gambling ties, a league spokesman said on Wednesday. The Miami New Timesfirst reported Cosart's possible involvement.

"Major League baseball is aware and they are investigating it and we have no further comment at this time," Marlins spokesman Matt Roebuck said.

• ​How a small-time handicapper concocted an MLB game-fixing tale

A screenshot of direct messages that were allegedly from Cosart looking for gambling advice was shared by a third party on Twitter on Tuesday night. Cosart then deleted his Twitter.

It is not known whether the allegations involve betting specifically on baseball or not. MLB prohibits players from gambling on the game, and rules state that a player found betting on a baseball game in which they have "no duty to perform" results in a one-year ban, while betting on a game in which they do have a duty to perform equals a lifetime ban.

MLB's all-time hit leader, Pete Rose, was banned from baseball in 1989 for betting on baseball games.

• Commissioner Rob Manfred will speak with Pete Rose about reinstatement

Cosart was traded to Miami last summer. He went 4-4 with a 2.39 ERA in 10 starts for the Marlins last season.

- Molly Geary