Well Captain, you activate your coin transporter and beam it out of there leaving all the nasty ions and water behind. Cal
You would have to get Georgie Laforge to recalibrate the transporter first though as its filters only catch biological contaminants
Wouldn't it be easier to just say - Computer - a whatever whatever coin, with gorgeous rainbow toning, ........... And presto - there is
Are we talking the food replicator or holodeck. If holodeck it can only be viewed while in the holodeck, if the replicator that's for food but it does also replicate the glasses and plates so why not a coin but I don't think I've ever seen a replicator replicate metal containers only glass. Boy do I feel like a Trekkie right now lol