The detriment caused by the breach of an agreement to convey an estate in real property is the difference between the price agreed to be paid and the value of the estate agreed to be conveyed at the time of the breach and the expenses properly incurred in examining the title, and in preparing to enter upon the land, and the amount paid on the purchase price, if any, with interest thereon from the time of the breach.
N.D.C.C. § 32-03-13