Gold Portal

A Gold Portal is a portal that takes the players to the Gilded Coast instead of the next level. To have one spawn, the players must activate a Shrine of Gold for a Gold Orb. Activating the shrine spawns this Gold Orb at the teleporter, and displays the message "a gold orb has appeared...". The teleporter event must then be completed, and the portal will spawn.

Activating the shrine after or during the teleporter event won't spawn an orb.

https://riskofrain2.fandom.com/wiki/Altar_of_Gold