Take a lesson from the Good Old Days of oil. Heck, all you had to do was drill down and pump it from the ground, and it was all over the world so not exactly rare. The net result - until 1973 and geopolitics intervened - was that oil was in the neighborhood of $1.50 a barrel, mostly the cost of transport and refining were relevant. Gas was 40 cents a gallon. Those tugboats from Detroit got 15mpg on a good day. Areas like Europe - no oil - were worse off than that, and areas like Arabia and Venezuela were floating in money by siphoning a tiny amount from each barrel flowing by. The only problems were (a) Americans couldn’t restrain their consumption and (b) middle east geopolitics.
The same with any commodity, any system. Gold will still be rare. The only thing changed will be the need for environmental impact statements, and the portability of refineries. You can find a floating asteroid, search it for traces of gold, and then melt the whole thing to extract them.
The next question is - where does the vein of gold come from? Is this an Earth gravity thing, creating differentiated groups of minerals? Or is there some other process at work, creating concentrations in floating asteroids? OTOH, some asteroids are allegedly high in nickel and iron, useful minerals. Others are plain rock. Biological valuables - water, nitrogen, assorted elements like potassium, sodium, calcium, carbon, etc. - will still be needed and will have assorted availabilities.
Regardless, the big deal will still be energy. Presumably your interplanetary/interstellar civilization will have fusion power and the ability to store unlimited quantities of energy perhaps as anti-matter. Melting an asteroid and spinning it in a centrifuge to extract assorted minerals may not cost anything, but the infrastructure will; the guys with the refinery separating deuterium from the Jovian atmosphere will have an unlimited motherlode, and if they charge too much someone else will join in the competition.
In one novel, Poul Anderson posits an interstellar fight over a rogue planet. As it swings by a star, it melts and heats up, so as it swings back into the depths of space, it has the gravity and temperature to be hospitable but without solar input, it can serve as a massive heat sink for giant industries. After all, modern industries and especially resource extraction, consume massive amounts of power and use a lot of peripheral resources like coal or coke, and water for cooling.
So (a) extraction tech will still be the bottleneck, (b) resources may be unlimited, but they will still be the “needle in the haystack” need extraction tech; ( it’s unlikely there are pure gold asteroids out there) and © most polluting industry and extraction would be not on or from habitable planets. And (d) anyone who does find a high value motherlode will still get rich and - final word - (e) never underestimate the ability of humans to exhaust a resource into scarcity, like we did with cheap oil.