In an action by a vendor of property fraudulently purchased to vacate the contract and have a restoration of the property or compensation therefor, where the complaint shows the fraudulent purchase of property and the amount of the plaintiff's claim, and is verified by his or her oath, an attachment against the property may be granted.