It’s the state itself deciding to offer gold as a method of payment. How could that possibly be unconstitutional?
The problem I see is that it isnt very economical to transact using physical gold. The overhead costs will be extensive for what I’d see as meager use.
Unless everyone is willing to accept exchanging physical notes that represent the gold (cough cough).