The fill command will fill all empty slots in block entities with containment with gold nuggets, one per slot.