These were found in Yankton, SD.
http://imgur.com/gallery/bDHOhQl http://imgur.com/gallery/Sorp4Dc
Here is a link to an article about the guy who dug it up, and his process:
https://www.yankton.net/community/article_7a468a10-93a4-11e8-be8d-4b7bac1aa31f.html#ath
Original post: https://www.reddit.com/r/whatisthisthing/comments/d9q6lw/found_buried_in_a_pit_dug_in_yankton_sd_where_an/
The site it was dug up from dates to before 1875, based on the fact the hotel was no longer listed on the map from that time.
Someone commented that they were used as a sort of Black Hills gold expedition lottery, but I can't find any solid information. There were other civil war era bottles found along with these.
I appreciate any insight I can get!
The opened ampoule: was it gold dust? Wax capsule? Were the contents weighed (or even the golden powder alone?)