You remind me of the time (probably around 2002) I used a 20 to pay for some transit card/ticket somewhere and ended up with something like 15 dollar coins in change. I want to say it was a metro card in NYC.
That's exactly what I felt at the time too. To me it was always three-quarters delight and one-quarter dismay. A jangling rain of dancing gold coins is a delightful thing. Sure, now I have to go to the bank; but until that time I will walk around as a pirate, pockets full of doubloons.
USPS stamp vending machines around that time period were a great source of dollar coins. Didn’t commonly see them otherwise. Never had an issue spending them afterwards. Unlike the time I was in line at a fast food restaurant when the employee at the register was yelling at a customer about fake money. Turned out the “forgery” was a $2 bill.
https://en.wikipedia.org/wiki/Susan_B._Anthony_dollar
https://en.wikipedia.org/wiki/Sacagawea_dollar
Dollars are worth a lot less now than they were. If vending machines start charging integer numbers of dollars, maybe dollar coins will catch on.