Luka Doncic has been fined $35,000 after making "an inappropriate and unprofessional gesture" towards an official.

With just 1.7 seconds to go of the 127-125 defeat to the Golden State Warriors on Wednesday, the Dallas Mavericks star rubbed his fingers together at a referee, appearing to reference money.

One piece of fortune for Doncic was that he was not given a technical foul for the gesture, with the Slovenian just one shy of the 16 required for a one-game suspension.

However, the NBA confirmed on Friday that Doncic will be fined for the incident.

Mavericks owner Mark Cuban wrote on Twitter after the game that they will protest what he called the "worst officiating non-call mistake possibly in the history of the NBA".

Dallas' objections are based on a referee call that led to Warriors center Kevon Looney scoring an uncontested dunk to make it 90-87 from a Jordan Poole inbound pass with 1:54 left in the third quarter following a Mavericks timeout.

The Mavericks believed they had possession of the ball, and so were not in position for the inbound, with Cuban claiming that was due to a miscommunication by the referees.