Eggs generally have two different purposes, they can either be eaten to restore a portion of your health or thrown to cause damage to an enemy.
In this instance the gold egg will completely restore health, making it similar to a First aid spray. However considering the rarity of these eggs it can be more beneficial to sell them.