Add transaction definition