Types for transactions