I was trying to work out the amount of heat in the hot golf ball. Apparently, the Sun's density is only a bit higher than water, so the mass of the golf ball sized piece would be around 50g. The specific heat capacity of Hydrogen is in the same region as Water so the golf ball would, in classical terms, have
0.05X 4200 X 15 X 10
6J of thermal energy, which comes to about 3MJ, which is about 1kWhr.
It would be good for someone else to check on this because it, yet again, is really not much - but more than the heat generated whilst it's sitting there for a minute. So your scenario would perhaps need to be reconsidered. The range of cooling would be governed by the Stefan Boltzman law which tells us that the rate of heat transfer is proportional to the fourth power of the temperature difference so the thing would 'cool down' to a reasonable temperature 'ever so quickly'. So that would produce a bit of a bang - but only 3MJ worth of bang. That's like 0.5kg of Nitroglycerine? (
see this Wiki link) but I don't know how to work out whether the cooling down would really cause such a rapid shock wave. Any container could slow it down and tame it a bit - in the end, the total energy would still only be around 1kWhr, so it would keep the room warm for an hour, lol. (Having blinded everyone at the start and warmed up the walls a bit)
Your idea of "stays at that temperature for one minute" would require it to be in a highly insulating and refractory box or it will cool down super quick. This particular scenario is a hard one (calls for a deus ex machina here). Your golf ball of Hydrogen would expand as well, until it has all changed into the gas phase. But you could take care of that in your gizmo (vent the gas safely outside through a pipe and let it burn safely as in an oil rig or just rise up in the air and be lost). The pressure in your gizmo would need to be around 10
11 Atmospheres but that may not represent a vast amount of energy - not like the energy in the 1kg of air in a compressed air cylinder, cos there's only 50g of Hydrogen.
You could make it pretty dramatic but still keep to a reasonable level of Science. Basically, it's not easy and so, as long as you don't take the Mick too much, I can't imagine too many people being able to pick holes.
On the other hand, if your gizmo keeps the golf ball intact and insulated, there really isn't much energy to be had (back to the compost heap). So you need to decide what you want to happen in your story and then the golf ball would have to be handled appropriately. Many unknowns here.