Almost all vending machines accept the dollar coins. I use them all the time because they are a heck of a lot easier to deal with than dollar bills.
“Almost all vending machines accept the dollar coins.”
I assume you are talking about the US coins; you are right. They’ve come a long way since the release of the Susan B. Anthony dollars (1979?); very few machines accepted them; I remember one game at our arcade did (because it was new - no retro-fitting required). Now in the post office or train stations those $1 US coins are given as change.