Is it possible it IS actually wax? Wouldn’t be the first time it was mixed in with coke. Try placing a piece on one side of a knife blade and light it from underneath. Does it smoke, melt, smell, change colors, etc.? That may give you better clues.
But trying to identify product off photos on here is nearly impossible, and frowned upon.