Major League Baseball is looking into possible sports-related gambling ties involving Miami Marlins pitcher Jarred Cosart, a league official has confirmed.

Cosart, 24, allegedly exchanged multiple direct messages with a gambling authority on his Twitter account, and the interaction became public.

The pitcher deleted his official Twitter account after screen shots of the exchange began appearing on the Internet on Tuesday night.

It's unclear whether the allegations involving Cosart revolve around baseball betting or sports betting in general. MLB Rule 21 prohibits gambling on baseball.